Make all elements of title row same height

This is so that text areas and buttons align perfectly.
This commit is contained in:
Rūdolfs Ošiņš
2025-04-04 10:26:54 +02:00
parent 4fc03eda4e
commit f777284af2
21 changed files with 80 additions and 61 deletions
+5 -2
View File
@@ -49,6 +49,7 @@
<div class="main">
<Button
styleHeight="2.5rem"
variant="secondary"
flatRight
onclick={() =>
@@ -58,10 +59,10 @@
<Popover
popoverPadding="0"
popoverPositionTop="2.5rem"
popoverPositionTop="3rem"
popoverPositionRight="0">
{#snippet toggle(onclick)}
<Button flatLeft {onclick} variant="secondary">
<Button styleHeight="2.5rem" flatLeft {onclick} variant="secondary">
<Icon name="chevron-down" />
</Button>
{/snippet}
@@ -71,6 +72,8 @@
items={actions.filter(a => !isEqual(a.state, patchState))}>
{#snippet item(action)}
<DropdownListItem
styleGap="0.5rem"
styleMinHeight="2.5rem"
selected={isEqual(selectedAction, action)}
onclick={() => {
selectedAction = action;