End the padding experiment; use same values for absolute positioning
This commit is contained in:
parent
4921ad739a
commit
8810efb2ab
2 changed files with 6 additions and 3 deletions
|
@ -18,7 +18,6 @@
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
}
|
}
|
||||||
& + section,
|
& + section,
|
||||||
& + .floating-tabs,
|
|
||||||
& + .floating-tabs + #main-content + section,
|
& + .floating-tabs + #main-content + section,
|
||||||
& + .floating-tabs + #main-content + .node > section:first-child {
|
& + .floating-tabs + #main-content + .node > section:first-child {
|
||||||
padding-top: 3.3125em;
|
padding-top: 3.3125em;
|
||||||
|
|
|
@ -25,8 +25,12 @@
|
||||||
|
|
||||||
.floating-tabs {
|
.floating-tabs {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 250px;
|
|
||||||
left: 0.75rem;
|
left: 0.75rem;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: rgba(255, 255, 255, 0.75);
|
background: rgba($white, 0.75);
|
||||||
|
// Top matches .is-fixed next sibling padding from _component.navbar.scss.
|
||||||
|
top: 3.3125em;
|
||||||
|
@include desktop {
|
||||||
|
top: 5.875em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue