improved usability of TOC on mobile

This commit is contained in:
Nuno Coração
2022-10-04 15:37:27 +01:00
parent 3cc0546634
commit 2ad4756f31
2 changed files with 21 additions and 11 deletions

View File

@@ -1621,10 +1621,10 @@ select {
width: 3rem;
}
.w-max {
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
.w-fit {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
.w-36 {
@@ -1635,12 +1635,6 @@ select {
width: 100%;
}
.w-fit {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
.w-24 {
width: 6rem;
}
@@ -3415,6 +3409,10 @@ body:has(#menu-controller:checked) {
order: 9999;
}
.lg\:block {
display: block;
}
.lg\:hidden {
display: none;
}