Skip to content

Commit 1ca7a6d

Browse files
committed
Fix cookie banner
1 parent 3ff8f07 commit 1ca7a6d

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

src/components/buttons/StandardButton.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
opacity: 1;
2727
color: white;
2828
}
29+
.filled:hover {
30+
opacity: 85%;
31+
}
2932
.fillOnHover:hover {
3033
background-color: var(--color);
3134
opacity: 1;

src/components/cookie-bannner/CookieBanner.svelte

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,17 @@
8989
<div class="mb-2" />
9090
</div>
9191
</div>
92-
<div class="flex w-2/5 flex-row mr-4 justify-center">
93-
<StandardButton onClick={acceptClicked}
94-
>{$t('cookies.banner.buttons.accept')}</StandardButton>
95-
<div class="mr-4" />
96-
<StandardButton color="warning" onClick={rejectClicked}
97-
>{$t('cookies.banner.buttons.reject')}</StandardButton>
92+
<div class="flex w-2/5 flex-row mr-4 gap-4 justify-center">
93+
<div class="self-center">
94+
<StandardButton onClick={acceptClicked}>
95+
{$t('cookies.banner.buttons.accept')}
96+
</StandardButton>
97+
</div>
98+
<div class="self-center">
99+
<StandardButton color="warning" onClick={rejectClicked}>
100+
{$t('cookies.banner.buttons.reject')}
101+
</StandardButton>
102+
</div>
98103
</div>
99104
</div>
100105
</div>

0 commit comments

Comments
 (0)