Remove gap between in-line tabs

This commit is contained in:
dnlklmn
2024-01-24 12:25:47 +00:00
committed by Rūdolfs Ošiņš
parent da2ff236b2
commit acf970709e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
<script lang="ts">
export let ariaLabel: string | undefined = undefined;
export let outline: boolean = false;
export let styleGap: string | undefined = undefined;
</script>
<style>
.radio {
display: flex;
gap: 0.375rem;
border-radius: var(--border-radius-tiny);
justify-content: center;
align-items: center;
@@ -21,6 +21,6 @@
}
</style>
<div aria-label={ariaLabel} class="radio" class:outline>
<div aria-label={ariaLabel} class="radio" class:outline style:gap={styleGap}>
<slot />
</div>
+1 -1
View File
@@ -743,7 +743,7 @@
<div class="tabs">
<div class="tabs-spacer" />
<Radio>
<Radio styleGap="0.375rem">
{#each Object.entries(tabs) as [name, { route, icon }]}
<Link {route}>
<Button