Small CSS cleanup

This commit is contained in:
Robin van der Linde 2024-04-24 21:02:00 +02:00
parent 4a19be48b2
commit 716f5fc9e0
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
4 changed files with 44 additions and 10 deletions

View file

@ -136,7 +136,7 @@
<UnofficialThemeList search={themeSearchText} {state} />
<div slot="not-logged-in">
<button class="w-full" on:click={() => osmConnection.AttemptLogin()}>
<button class="m-0 my-2 w-full" on:click={() => osmConnection.AttemptLogin()}>
<Login class="mr-2 h-6 w-6 " />
<Tr t={Translations.t.index.logIn} />
</button>

View file

@ -24,7 +24,7 @@
<section class="w-full">
<slot name="title" />
<div class="theme-list gap-4 md:grid md:grid-flow-row md:grid-cols-2 lg:grid-cols-3">
<div class="theme-list my-2 gap-4 md:grid md:grid-flow-row md:grid-cols-2 lg:grid-cols-3">
{#each filteredThemes as theme (theme.id)}
{#if theme !== undefined && !(hideThemes && theme?.hideFromOverview)}
<!-- TODO: doesn't work if first theme is hidden -->