diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 5cc41ae6..e04ea386 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -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; } diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index a31d5c7a..adf881d4 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -1,4 +1,4 @@ -
+ +
+ + {{ i18n "article.table_of_contents" }} + +
+ {{ .TableOfContents | emojify }} +
+