From f15e588379372f8943b4bfafd7f23e7280cc2c0f Mon Sep 17 00:00:00 2001 From: Agrim Jain Date: Mon, 27 May 2024 10:39:04 +0400 Subject: [PATCH] styling changes --- .../locale-dropdown-navbar-item.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/theme/NavbarItem/LocaleDropdownNavbarItem/locale-dropdown-navbar-item.scss b/src/theme/NavbarItem/LocaleDropdownNavbarItem/locale-dropdown-navbar-item.scss index 39a6325f8..f5854a836 100644 --- a/src/theme/NavbarItem/LocaleDropdownNavbarItem/locale-dropdown-navbar-item.scss +++ b/src/theme/NavbarItem/LocaleDropdownNavbarItem/locale-dropdown-navbar-item.scss @@ -9,21 +9,18 @@ .dropdown__menu { position: fixed; display: flex; - top: 80px; + top: 93px !important; left: 0px; - padding-right: 100px; + padding-right: 5.5%; width: 100vw; - min-width: 1280px; + min-width: 997px; padding-bottom: 32px; flex-direction: column; align-items: center; gap: 24px; background-color: var(--ifm-navbar-background-color); box-shadow: var(--ifm-navbar-shadow); - overscroll-behavior-y: contain; - overflow-y: auto; align-items: flex-end; - z-index: 999; } .navbar__items--right .dropdown__link { @@ -43,9 +40,11 @@ } .dropdown { + height: 72px; + position: relative !important; + top: 25px; background-image: url('/img/language-switcher.svg'); background-repeat: no-repeat; - display: flex; padding: 2px 22px; align-items: center; gap: 4px;