mirror of
https://github.com/godotengine/godot-contributing-docs.git
synced 2025-12-31 05:48:13 +03:00
Fix offsets in navbar (because we don't use the rtd selector).
This commit is contained in:
@@ -1446,6 +1446,7 @@ p + .classref-constant {
|
||||
/* Navigational sidebar */
|
||||
|
||||
.wy-nav-side {
|
||||
padding-bottom: 0; !important;
|
||||
background-color: var(--navbar-background-color);
|
||||
}
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@ const registerOnScrollEvent = (function(){
|
||||
// The target margin to be applied to the navigation bar when the logo is hidden.
|
||||
const menuTopMargin = 70;
|
||||
// The max-height offset when the logo is completely visible.
|
||||
const menuHeightOffset_default = 162;
|
||||
const menuHeightOffset_default = 154;
|
||||
// The max-height offset when the logo is completely hidden.
|
||||
const menuHeightOffset_fixed = 80;
|
||||
const menuHeightOffset_fixed = 70;
|
||||
// The distance between the two max-height offset values above; used for intermediate values.
|
||||
const menuHeightOffset_diff = (menuHeightOffset_default - menuHeightOffset_fixed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user