FIX: global sidebar section icon not moving on scroll (#20851)

Global section icon is using absolute position. To make it move on scroll, the parent element has to be relative.

https://meta.discourse.org/t/globe-icon-at-sidebar-behaves-badly/259382
This commit is contained in:
Krzysztof Kotlarek 2023-03-28 10:13:27 +11:00 committed by GitHub
parent 9490244ae3
commit 326a7a47e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -2,9 +2,12 @@
.sidebar-section-wrapper {
padding-bottom: 0;
}
.sidebar-section-header {
position: relative;
}
.d-icon-globe {
position: absolute;
left: 0.5em;
left: -0.75em;
height: 0.75em;
width: 0.75em;
margin-top: 0.15em;