Skip to content

Commit

Permalink
Merge pull request #702 from DissNik/2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored Dec 13, 2023
2 parents 6d4908b + f25734f commit 2a85d7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/css/base/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
/* selector :has not supported */

&--top-menu {
@apply flex-col px-3 pb-6 pt-[4.5rem] transition-none md:px-5 lg:pt-24;
@apply flex-col gap-y-0 px-3 pb-6 pt-0 transition-none md:px-5;
}

/* selector :has supported */
@supports selector(:has(*)) {
&:has(> .layout-menu-horizontal) {
@apply flex-col px-3 pb-6 pt-[4.5rem] transition-none md:px-5 lg:pt-24;
@apply flex-col gap-y-0 px-3 pb-6 pt-0 transition-none md:px-5;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion resources/css/components/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@

/* Aside horizontal navigation */
.layout-menu-horizontal {
@apply fixed inset-x-0 top-0 z-[100] flex h-[4.5rem] items-center gap-x-5 bg-body/80 px-6 backdrop-blur-sm transition-colors md:px-10 lg:h-24;
@apply sticky inset-x-0 top-0 z-[100] flex h-[4.5rem] items-center gap-x-5 bg-body/80 px-6 backdrop-blur-sm transition-colors md:px-10 lg:h-24;

.menu-inner-item-char {
@apply hidden;
Expand Down
2 changes: 1 addition & 1 deletion resources/css/components/modals.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

&-body {
@apply grow p-4 lg:p-6;
@apply z-1 grow p-4 lg:p-6;
}

/* Backdrop */
Expand Down

0 comments on commit 2a85d7f

Please sign in to comment.