Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

Commit

Permalink
馃搫 Added more media query responsiveness & scroll bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
Slqmy committed Jun 7, 2023
1 parent e475816 commit c40d7e7
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions styles/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
width: 72px;
z-index: 200;
padding-top: 5px;
overflow-y: auto;
}

div.sidebar-link {
Expand Down Expand Up @@ -37,7 +38,31 @@
}
}

@media (min-width: 1200.1px) {
@media (min-width: 640px) and (max-width: 1023px) {
div.sidebar-link div {
font-size: 9px;
}
}

@media (min-width: 1700px) {
div.sidebar {
position: fixed;
left: 0;
bottom: 0;
top: 55px;
background-color: white;
width: 200px;
z-index: 200;
padding-top: 5px;
overflow-y: auto;
}

body {
padding-left: 224px;
}
}

@media (min-width: 1200.1px) and (max-width: 1699.9px) {
div.sidebar {
position: fixed;
left: 0;
Expand All @@ -47,8 +72,15 @@
width: 150px;
z-index: 200;
padding-top: 5px;
overflow-y: auto;
}

body {
padding-left: 174px;
}
}

@media (min-width: 1200.1px) {
div.sidebar-link {
height: 35px;
display: flex;
Expand All @@ -73,9 +105,6 @@
font-size: 10px;
width: 1fr;
margin-left: 12px;
}

body {
padding-left: 174px;
white-space: nowrap;
}
}

0 comments on commit c40d7e7

Please sign in to comment.