Skip to content

Commit

Permalink
add w-100 to dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
moekumasaka committed Sep 24, 2024
1 parent a333bbb commit 955ffe8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@
transition: 0.3s ease-in-out;
}
}

.dropdown-menu :global {
width: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const CustomNavDropdown = (props: CustomNavDropdownProps): JSX.Element =>
{ Icon != null && <Icon /> } {i18n}
</span>
</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]) => {

const isActive = activeTab === key;
Expand Down

0 comments on commit 955ffe8

Please sign in to comment.