mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +00:00
fix: only apply z-index on left sidebar
This commit is contained in:
parent
d613a3d2f2
commit
6715079a89
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,6 @@ a {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0 4rem;
|
padding: 0 4rem;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1;
|
|
||||||
@media all and (max-width: $fullPageWidth) {
|
@media all and (max-width: $fullPageWidth) {
|
||||||
position: initial;
|
position: initial;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -183,6 +182,7 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
& .sidebar.left {
|
& .sidebar.left {
|
||||||
|
z-index: 1;
|
||||||
left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
|
left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
|
||||||
@media all and (max-width: $fullPageWidth) {
|
@media all and (max-width: $fullPageWidth) {
|
||||||
gap: 0;
|
gap: 0;
|
||||||
|
|
Loading…
Reference in a new issue