mirror of
https://github.com/imfing/hextra.git
synced 2025-06-19 10:24:16 -04:00
fix: scroll bug due to incorrect toggle state (#186)
* fix: add mobile menu overlay to toggle body scroll * chore: update styles
This commit is contained in:
@ -499,6 +499,9 @@ video {
|
||||
.pointer-events-none {
|
||||
pointer-events: none;
|
||||
}
|
||||
.fixed {
|
||||
position: fixed;
|
||||
}
|
||||
.absolute {
|
||||
position: absolute;
|
||||
}
|
||||
@ -508,6 +511,9 @@ video {
|
||||
.sticky {
|
||||
position: sticky;
|
||||
}
|
||||
.inset-0 {
|
||||
inset: 0px;
|
||||
}
|
||||
.inset-x-0 {
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
@ -543,6 +549,9 @@ video {
|
||||
.top-full {
|
||||
top: 100%;
|
||||
}
|
||||
.z-10 {
|
||||
z-index: 10;
|
||||
}
|
||||
.z-20 {
|
||||
z-index: 20;
|
||||
}
|
||||
@ -966,6 +975,9 @@ video {
|
||||
--tw-border-opacity: 1;
|
||||
border-color: rgb(254 249 195 / var(--tw-border-opacity));
|
||||
}
|
||||
.bg-black\/80 {
|
||||
background-color: rgb(0 0 0 / 0.8);
|
||||
}
|
||||
.bg-black\/\[\.05\] {
|
||||
background-color: rgb(0 0 0 / .05);
|
||||
}
|
||||
@ -1399,6 +1411,9 @@ video {
|
||||
.\[text-underline-position\:from-font\] {
|
||||
text-underline-position: from-font;
|
||||
}
|
||||
.\[transition\:background-color_1\.5s_ease\] {
|
||||
transition: background-color 1.5s ease;
|
||||
}
|
||||
.\[word-break\:break-word\] {
|
||||
word-break: break-word;
|
||||
}
|
||||
@ -2990,6 +3005,9 @@ body {
|
||||
:is(html[class~="dark"] .dark\:border-yellow-200\/30) {
|
||||
border-color: rgb(254 240 138 / 0.3);
|
||||
}
|
||||
:is(html[class~="dark"] .dark\:bg-black\/60) {
|
||||
background-color: rgb(0 0 0 / 0.6);
|
||||
}
|
||||
:is(html[class~="dark"] .dark\:bg-blue-900\/30) {
|
||||
background-color: rgb(30 58 138 / 0.3);
|
||||
}
|
||||
|
Reference in New Issue
Block a user