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:
parent
9490244ae3
commit
326a7a47e7
|
@ -2,9 +2,12 @@
|
||||||
.sidebar-section-wrapper {
|
.sidebar-section-wrapper {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
.sidebar-section-header {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
.d-icon-globe {
|
.d-icon-globe {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0.5em;
|
left: -0.75em;
|
||||||
height: 0.75em;
|
height: 0.75em;
|
||||||
width: 0.75em;
|
width: 0.75em;
|
||||||
margin-top: 0.15em;
|
margin-top: 0.15em;
|
||||||
|
|
Loading…
Reference in New Issue