make navbar sticky
This commit is contained in:
parent
7888395163
commit
4de10ecba7
2 changed files with 8 additions and 2 deletions
|
|
@ -20,6 +20,12 @@ main {
|
|||
height: 100vh;
|
||||
}
|
||||
|
||||
#navbar-top {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
|
||||
.tracker {
|
||||
align-content: center;
|
||||
}
|
||||
|
|
@ -32,7 +38,7 @@ main {
|
|||
.current-day {
|
||||
background-color: white;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
top: 64px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<nav class="navbar has-background-primary" role="navigation" aria-label="main navigation" data-controller="menu">
|
||||
<nav id="navbar-top" class="navbar has-background-primary" role="navigation" aria-label="main navigation" data-controller="menu">
|
||||
<div class="navbar-brand">
|
||||
<div class="navbar-item is-size-5">Comment ça </div>
|
||||
<div class="navbar-item is-size-3"><strong>KLUK</strong></div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue