Skip to content

Commit

Permalink
docs: fix menu separator mobile (#3942)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiscolin authored Feb 4, 2024
1 parent cb7896b commit 65d9d14
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ html {
@apply mx-0;
}
&__toggle {
@apply bg-card rounded-s h-8 w-8 flex justify-center items-center;
border-radius: .5rem;
@apply bg-card h-8 w-8 flex justify-center items-center;

@media (min-width: 997px) {
@apply hidden;
}
Expand Down Expand Up @@ -208,19 +210,29 @@ html {
@apply px-0 hidden;
}
&__close {
@apply bg-gray-1000 rounded-s h-8 w-8 flex justify-center items-center ml-0;
border-radius: .5rem;
@apply bg-gray-1000 h-8 w-8 flex justify-center items-center ml-0;

& > svg > g {
@apply stroke-gray-0;
}
}
}
.navbar-sidebar {
&__brand {
@apply shadow-none relative;
&::after {
content: '';
@apply absolute block h-px bg-border bottom-0 right-3 left-0 mx-6;
}
}
}
&[data-theme='dark'] .navbar-sidebar {
@apply bg-gray-1000;
&__brand {
@apply shadow-none relative;
&::after {
content: '';
@apply absolute block h-px bg-linkHover bottom-0 right-3 left-0 mx-6;
@apply bg-linkHover;
}
}
&__close {
Expand Down

0 comments on commit 65d9d14

Please sign in to comment.