Skip to content

Commit

Permalink
problem with hiding black bg on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Apr 28, 2023
1 parent c4bc494 commit 64b10d8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kerberos-io/ui",
"version": "1.74.0",
"version": "1.75.0",
"main": "lib/index.js",
"repository": "https://github.com/kerberos-io/ui",
"author": "Kerberos.io <[email protected]>",
Expand Down
26 changes: 15 additions & 11 deletions src/components/Sidebar/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@
display: none;
}

.background-black {
position: absolute;
width: 100vw;
top: 0;
left: 0;
height: 100vh;
display: block;
background: black;
opacity: 0.4;
}

.hamburger {
margin-right: size(1.5);
margin-top: size(0.5);
Expand Down Expand Up @@ -106,7 +95,22 @@
}
}

.background-black {
position: absolute;
width: 100vw;
top: 0;
left: 0;
height: 100vh;
display: block;
background: black;
opacity: 0.4;
}


&.closed {
.background-black {
display: none;
}
.brand-logo {
display: none;
}
Expand Down

0 comments on commit 64b10d8

Please sign in to comment.