Fix ticker style bug

This commit is contained in:
Ondřej 2022-11-02 21:37:52 +01:00
parent 3d436f68e5
commit f27ef9975a
2 changed files with 5 additions and 1 deletions

View file

@ -1220,6 +1220,10 @@ html:not(.dark) .light\:hidden {
margin-bottom: 1rem;
}
.lg\:mb-0 {
margin-bottom: 0px;
}
.lg\:hidden {
display: none;
}

View file

@ -1,5 +1,5 @@
<section
class="lg:col-span-5 bg-gray-100 dark:bg-gray-800 rounded-xl px-6 pt-6 pb-24 lg:pb-6 -mx-6 lg:mx-0 -mb-24"
class="lg:col-span-5 bg-gray-100 dark:bg-gray-800 rounded-xl px-6 pt-6 pb-24 lg:pb-6 -mx-6 lg:mx-0 -mb-24 lg:mb-0"
x-data="{ postsResource: { status: 'loading' } }"
x-init="postsResource = await fetch('{{ site.Params.tickerApiURL }}?origin={{ site.Params.tickerClientURL }}&limit=3')
.then(res => res.json())