Skip to content

Commit

Permalink
Fix a background issue on language selector and color selector mobile…
Browse files Browse the repository at this point in the history
… navigation
  • Loading branch information
Pelsin committed Jan 4, 2025
1 parent 4934a71 commit 28a6deb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion www/src/Components/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Navigation = () => {
</Navbar.Brand>
<Navbar.Toggle aria-controls="responsive-navbar-nav" />
<Navbar.Collapse id="basic-navbar-nav">
<Nav className="me-auto">
<Nav className="me-auto nav-menu">
<Nav.Link as={NavLink} to="/settings" eventKey={eventKey++}>
{t('Navigation:settings-label')}
</Nav.Link>
Expand Down
12 changes: 7 additions & 5 deletions www/src/Components/Navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ nav.navbar {
.nav-link {
margin-left: $nav-outer-margin;
}
.dropdown-menu {
background-color: transparent;
border: none;
.dropdown-item {
padding-left: 1.5rem;
.nav-menu {
.dropdown-menu {
background-color: transparent;
border: none;
.dropdown-item {
padding-left: 1.5rem;
}
}
}
}
Expand Down

0 comments on commit 28a6deb

Please sign in to comment.