End the padding experiment; use same values for absolute positioning

This commit is contained in:
benjamin melançon 2018-11-14 15:10:57 -05:00
parent 4921ad739a
commit 8810efb2ab
2 changed files with 6 additions and 3 deletions

View file

@ -18,7 +18,6 @@
fill: currentColor;
}
& + section,
& + .floating-tabs,
& + .floating-tabs + #main-content + section,
& + .floating-tabs + #main-content + .node > section:first-child {
padding-top: 3.3125em;

View file

@ -25,8 +25,12 @@
.floating-tabs {
position: absolute;
top: 250px;
left: 0.75rem;
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;
}
}