moekumasaka 1 год назад
Родитель
Сommit
955ffe8736

+ 0 - 4
apps/app/src/client/components/CustomNavigation/CustomNav.module.scss

@@ -15,7 +15,3 @@
     transition: 0.3s ease-in-out;
     transition: 0.3s ease-in-out;
   }
   }
 }
 }
-
-.dropdown-menu :global {
-  width: 100%;
-}

+ 1 - 1
apps/app/src/client/components/CustomNavigation/CustomNav.tsx

@@ -77,7 +77,7 @@ export const CustomNavDropdown = (props: CustomNavDropdownProps): JSX.Element =>
           { Icon != null && <Icon /> } {i18n}
           { Icon != null && <Icon /> } {i18n}
         </span>
         </span>
       </button>
       </button>
-      <div className={`dropdown-menu dropdown-menu-right ${isDropdownOpen ? 'show' : ''} ${styles['dropdown-menu']}`}>
+      <div className={`dropdown-menu dropdown-menu-right w-100 ${isDropdownOpen ? 'show' : ''} ${styles['dropdown-menu']}`}>
         {Object.entries(navTabMapping).map(([key, value]) => {
         {Object.entries(navTabMapping).map(([key, value]) => {
 
 
           const isActive = activeTab === key;
           const isActive = activeTab === key;