fixed minor bug in mobile

This commit is contained in:
Nuno Coração 2022-10-02 18:27:21 +01:00
parent 13fa4928c6
commit 7004854c6b
2 changed files with 7 additions and 1 deletions

View file

@ -1635,6 +1635,12 @@ select {
width: 100%;
}
.w-fit {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
.w-24 {
width: 6rem;
}

View file

@ -12,7 +12,7 @@
</div>
</section>
{{ end }}
<section class="mt-5 space-y-10 w-max">
<section class="mt-5 space-y-10 w-fit">
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
<h2 class="mt-12 text-2xl font-bold text-neutral-700 first:mt-8 dark:text-neutral-300">