Fix generate message button

- regressed when removing square/svelte-store
This commit is contained in:
Mattias Granlund 2023-12-15 11:55:02 +01:00
parent cede6734b0
commit eb6f224949
2 changed files with 4 additions and 3 deletions

View File

@ -47,18 +47,19 @@
<style lang="postcss">
.menu-item {
display: flex;
text-align: left;
align-items: center;
color: var(--clr-theme-scale-ntrl-0);
height: var(--space-24);
padding: var(--space-4) var(--space-6);
border-radius: var(--radius-s);
justify-content: space-between;
gap: var(--space-8);
&:not(.disabled):hover {
background: var(--clr-theme-container-sub);
}
}
.label {
flex-grow: 1;
white-space: nowrap;
}
.disabled {

View File

@ -133,12 +133,12 @@
<ContextMenuItem
checked={$commitGenerationExtraConcise}
label="Extra concise"
on:click={() => commitGenerationExtraConcise.update((value) => !value)}
on:click={() => ($commitGenerationExtraConcise = !$commitGenerationExtraConcise)}
/>
<ContextMenuItem
checked={$commitGenerationUseEmojis}
label="Use emojis 😎"
on:click={() => commitGenerationUseEmojis.update((value) => !value)}
on:click={() => ($commitGenerationUseEmojis = !$commitGenerationUseEmojis)}
/>
</ContextMenuSection>
</ContextMenu>