From acf368da63015561231193aca8f7d04f567cf6a3 Mon Sep 17 00:00:00 2001 From: "Umang G. Patel" <23169768+robonetphy@users.noreply.github.com> Date: Thu, 13 Oct 2022 01:13:15 +0530 Subject: [PATCH] margin remove in mobile view with bold removed --- src/frontend/styles/components/sidebar.pcss | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/frontend/styles/components/sidebar.pcss b/src/frontend/styles/components/sidebar.pcss index adbc01c..5cbfc4b 100644 --- a/src/frontend/styles/components/sidebar.pcss +++ b/src/frontend/styles/components/sidebar.pcss @@ -88,7 +88,7 @@ &-wrapper::after { color: var(--color-button-secondary); - font-weight: 600; + font-weight: 400; font-size: 14px; line-height: 17px; content: attr(data-shortcut); @@ -102,12 +102,13 @@ &__search::placeholder { color: var(--color-button-secondary); - font-weight: 600; + font-weight: 400; } &__section { overflow: hidden; flex-shrink: 0; + margin-top: 20px; &--hidden { display: none; @@ -138,10 +139,12 @@ } } - &__section:not(:first-child) { - margin-top: 20px; + @media (--mobile) { + &__section:nth-child(2) { + margin-top: 0px; + } } - + &__section-title { font-size: 16px; line-height: 24px;