Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make header sticky #870

Merged
merged 2 commits into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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