Skip to content

Commit

Permalink
fix: Make header sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
munen committed Jun 30, 2022
1 parent 58ab58f commit b1ff504
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/HeaderBar/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
.header-bar {
background-color: var(--base2);
height: 30px;
min-height: 30px;
padding: 10px;

display: grid;
grid-template-columns: minmax(2em, 3.5fr) minmax(1em, 3fr) minmax(1em, 3.5fr);
grid-template-areas: 'back title actions';
align-items: center;

position: sticky;
top: 0;

z-index: 1;
}

Expand Down

0 comments on commit b1ff504

Please sign in to comment.