fixed ListItem height for the dropdown menu

This commit is contained in:
Pavel Laptev 2023-12-05 16:49:22 +01:00 committed by GitButler
parent 8d83a9279c
commit 16b3545c12

View File

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