Skip to content

Commit

Permalink
Make toolbar sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZoker committed Jan 17, 2023
1 parent da04560 commit 34f9219
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions resources/js/components/EditorMenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,17 @@ export default {
padding-top: 0.375rem;
padding-bottom: 0.375rem;
}
.menubar {
position: sticky;
z-index: 100;
top: 63px;
}
@media (max-width: 768px) {
.menubar {
overflow-x: scroll;
white-space: nowrap;
@apply py-1.5;
top: 58px;
}
}
.delimiter {
Expand Down
2 changes: 1 addition & 1 deletion resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ label.label {
@apply mt-4 mb-4;
border-top: 2px solid #e6e6e6;
}
}
}

0 comments on commit 34f9219

Please sign in to comment.