Skip to content

Commit

Permalink
fix: currency list position and width
Browse files Browse the repository at this point in the history
fixes #150

Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Oct 20, 2024
1 parent 59ff09a commit e4333e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/guitos/sections/NavBar/NavBarSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function NavBarSettings({ expanded }: NavBarSettingsProps) {
<OverlayTrigger
trigger="click"
key="nav-settings-overlay"
placement="bottom"
placement={"auto"}
rootClose={true}
overlay={
<Popover id={"nav-popover-settings-button"}>
Expand Down Expand Up @@ -68,12 +68,12 @@ export function NavBarSettings({ expanded }: NavBarSettingsProps) {
style={
expanded
? {
maxWidth: "10ch",
minWidth: "10ch",
maxWidth: "11ch",
minWidth: "11ch",
}
: {
maxWidth: "7ch",
minWidth: "7ch",
maxWidth: "8ch",
minWidth: "8ch",
}
}
options={currenciesList.sort((a, b) =>
Expand Down

0 comments on commit e4333e4

Please sign in to comment.