Skip to content

Commit

Permalink
fix: dark theme button, position of language buttons (#33)
Browse files Browse the repository at this point in the history
* fix: dark theme button, position of language buttons

* fix: eng button
  • Loading branch information
paulinapp1 authored Jan 29, 2024
1 parent b61c53f commit 247771e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {

export function Navbar() {
const [isSidebarMenuVisible, setIsSidebarMenuVisible] = useState(false);
const [language, setLanguage] = useState('');
const [language, setLanguage] = useState('pl');
const [buttonColorPL, setButtonColorPL] = useState('');
const [buttonColorENG, setButtonColorENG] = useState('');
const { isDarkTheme, toggleTheme } = useContext(ThemeContext);
Expand Down
5 changes: 3 additions & 2 deletions src/components/Navbar/Navbar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,14 @@
width: 100%;
padding: 0px;
width: 30px;
margin-left: 16px;
margin-left: auto;
height: 30px;

svg {
width: 100%;
height: 100%;
padding-bottom: 4px;
margin-left: 26px;
}
}
.line {
Expand All @@ -174,7 +175,7 @@
width: 2px;
align-content: center;
font-size: 0px;
margin: 0px 4px;
margin: 0px 6px;
}
.lineDark {
background-color: $white;
Expand Down

0 comments on commit 247771e

Please sign in to comment.