From dc2fbdca82c33bed532d7371eebffee39969abfb Mon Sep 17 00:00:00 2001 From: DaizyModi Date: Mon, 2 Oct 2023 12:48:38 +0530 Subject: [PATCH] style: fix title for mobile screen --- frappe/public/scss/desk/mobile.scss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frappe/public/scss/desk/mobile.scss b/frappe/public/scss/desk/mobile.scss index 6e18e81e98..5b102a71f9 100644 --- a/frappe/public/scss/desk/mobile.scss +++ b/frappe/public/scss/desk/mobile.scss @@ -9,10 +9,9 @@ body { // overflow-x: hidden; //Prevent scroll on narrow devices // } -@media (max-width: 1080px) { +@media (max-width: 1024px) { body[data-route^="Form"] { .page-title .title-text { - @include get_textstyle("lg", "regular"); max-width: 350px; } } @@ -389,3 +388,11 @@ body { } } } + +@media (max-width: 480px) { + body[data-route^="Form"] { + .page-title .title-text { + max-width: 150px; + } + } +}