Skip to content

Commit

Permalink
Merge pull request #8 from awcodes/fix/new-menu-button
Browse files Browse the repository at this point in the history
Fix: update styles to fix bugs with new menu toggle
  • Loading branch information
awcodes authored Sep 5, 2022
2 parents 40422c7 + 7e6de43 commit 3fc81f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions resources/css/plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
overflow-x: clip !important;
}

.filament-sidebar {
z-index: 39 !important;
}

.filament-header {
position: -webkit-sticky;
position: sticky;
Expand Down Expand Up @@ -61,7 +57,7 @@
display: block;
position: fixed;
top: 0;
left: 0;
left: 5.4em;
right: 0;
z-index: -1;
background-color: transparent;
Expand All @@ -73,7 +69,7 @@

[stuck] .filament-main::before {
opacity: 1;
z-index: 38;
z-index: 5;
transition: opacity 0.125s ease-out;
background-color: theme(colors.white / 75%);
border-color: theme("colors.gray.200");
Expand All @@ -86,6 +82,10 @@
}

@screen lg {
.filament-main.filament-main-sidebar-open::before {
left: var(--sidebar-width);
}

[stuck] .filament-header {
margin-inline: -2rem;
padding-inline: theme("spacing.8");
Expand Down
2 changes: 1 addition & 1 deletion resources/dist/filament-sticky-header.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3fc81f1

Please sign in to comment.