Make header responsive
This commit is contained in:
Родитель
3661a22782
Коммит
14f4ac2638
|
@ -1,5 +1,5 @@
|
|||
<!-- Navigation -->
|
||||
<nav class="navbar sticky-top navbar-light bg-light flex-md-nowrap p-0 docsite-header">
|
||||
<nav class="navbar sticky-top navbar-light bg-light flex-md-nowrap docsite-header">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="{{ site.baseurl }}/">
|
||||
<img src={{ "/images/rush-horiz.svg" | absolute_url }}
|
||||
|
|
|
@ -5,7 +5,13 @@
|
|||
}
|
||||
|
||||
.docsite-header {
|
||||
height: var(--docsite-header-size);
|
||||
position: static;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
position: sticky;
|
||||
height: var(--docsite-header-size);
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.docsite-side-nav {
|
||||
|
|
Загрузка…
Ссылка в новой задаче