mirror of
https://github.com/boostorg/unordered-ui-bundle.git
synced 2026-01-19 04:42:15 +00:00
update css to remove extraneous top padding
This commit is contained in:
@@ -4,10 +4,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
padding-top: var(--navbar-height);
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background: var(--navbar-background);
|
||||
color: var(--navbar-font-color);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
.nav-container {
|
||||
position: fixed;
|
||||
top: var(--navbar-height);
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
font-size: calc(17 / var(--rem-base) * 1rem);
|
||||
@@ -37,7 +37,7 @@
|
||||
.nav {
|
||||
background: var(--nav-background);
|
||||
position: relative;
|
||||
top: var(--toolbar-height);
|
||||
top: 0;
|
||||
height: var(--nav-height);
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
.nav {
|
||||
top: var(--navbar-height);
|
||||
top: 0;
|
||||
box-shadow: none;
|
||||
position: sticky;
|
||||
height: var(--nav-height--desktop);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
height: var(--toolbar-height);
|
||||
justify-content: flex-start;
|
||||
position: sticky;
|
||||
top: var(--navbar-height);
|
||||
top: 0;
|
||||
z-index: var(--z-index-toolbar);
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
{{> head defaultPageTitle='Untitled'}}
|
||||
</head>
|
||||
<body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}">
|
||||
{{> header}}
|
||||
{{> body}}
|
||||
{{> footer}}
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user