Skip to content

Commit

Permalink
[CSS/instruments] Fix control panel position when scrolling (#8383)
Browse files Browse the repository at this point in the history
fix control panel position when scrolling
  • Loading branch information
zaliqarosli committed Mar 6, 2023
1 parent cbf9f12 commit bcadb11
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions htdocs/css/simple-sidebar.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#sidebar-content {
padding-left: 25px;
padding-left: 20px;
}

.wrapper {
Expand All @@ -9,13 +9,12 @@

#sidebar-wrapper {
margin-left: -200px;
margin-top: 50px;
left: 200px;
width: 200px;
top: 0;
background: #E4EBF2;
border: 1px solid #C3D5DB;
position: fixed;
position: absolute;
height: 100%;
overflow-y: auto;
z-index: 999;
Expand Down Expand Up @@ -128,7 +127,7 @@
}

.wrapper.active #sidebar-wrapper {
left: 200px;
left: -15px;
width: 200px;
transition: all 0.4s ease 0s;
}
Expand Down

0 comments on commit bcadb11

Please sign in to comment.