usability changes
This commit is contained in:
parent
d15f0d430f
commit
bfb8082c54
4 changed files with 33 additions and 12 deletions
|
@ -123,16 +123,20 @@ html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-u
|
|||
display: block;
|
||||
}
|
||||
|
||||
/* Add mobile overlay */
|
||||
.sidenav::before {
|
||||
content: '';
|
||||
/* Mobile overlay - separate element */
|
||||
.mobile-nav-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
z-index: -1;
|
||||
z-index: 99;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-nav-overlay.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Adjust main content spacing for mobile */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue