Merge pull request #1942 from gitbutlerapp/margin-fix

Margin fix between items in branches
This commit is contained in:
Pavel Laptev 2023-12-05 16:52:10 +01:00 committed by GitHub
commit 15a2905587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -145,6 +145,6 @@
.content {
display: flex;
flex-direction: column;
gap: var(--space-12);
gap: var(--space-2);
}
</style>

View File

@ -10,7 +10,7 @@
</script>
<button disabled={selected} class="button" class:selected on:click={() => dispatch('click')}>
<div class="text-base-14 text-bold">
<div class="label text-base-14 text-bold">
<slot />
</div>
{#if icon}
@ -42,7 +42,11 @@
color: var(--clr-theme-scale-ntrl-50);
}
& .icon {
display: flex;
color: var(--clr-theme-scale-ntrl-50);
}
& .label {
height: var(--space-16);
}
}
</style>