Skip to content

Commit

Permalink
Merge pull request #870 from 200ok-ch/fix/make-header-sticky
Browse files Browse the repository at this point in the history
fix: Make header sticky
  • Loading branch information
branch14 committed Jul 6, 2022
2 parents e326925 + 3f16fa2 commit e801c39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelog.org
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ When there are updates to the changelog, you will be notified and see a 'gift' i
** Fixed
- Change log renders above previously opened view component
- PR: https://github.com/200ok-ch/organice/pull/869
- Make HeaderBar sticky
- PR: https://github.com/200ok-ch/organice/pull/870
* [2022-07-04 Mon]
** Added
- Setting to change textbox height in the description editor
Expand Down
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 e801c39

Please sign in to comment.