Fix sidebar close button to top of panel

This commit is contained in:
Tyler Hallada 2022-01-23 19:49:28 -05:00
parent 7b5cc02993
commit bb8a640d08

View File

@ -8,6 +8,7 @@
overflow-x: hidden;
width: 300px;
padding: 12px;
padding-top: 0px;
border-right: 1px solid #222222;
font-size: 0.875rem;
}
@ -23,9 +24,9 @@
}
.close {
position: absolute;
top: 4px;
right: 8px;
position: fixed;
top: 8px;
left: 232px;
font-size: 24px;
margin-left: 12px;
border: none;
@ -33,6 +34,14 @@
cursor: pointer;
}
@media only screen and (max-width: 600px) {
.close {
top: calc(55% + 8px);
left: initial;
right: 12px;
}
}
.close:hover {
color: #888888;
}