diff --git a/src/components/palette/BindCheckbox.svelte b/src/components/palette/BindCheckbox.svelte index eba3496e2..3a68ec317 100644 --- a/src/components/palette/BindCheckbox.svelte +++ b/src/components/palette/BindCheckbox.svelte @@ -28,4 +28,9 @@ } - + diff --git a/src/components/palette/PaletteProperty.svelte b/src/components/palette/PaletteProperty.svelte index 29611c5e2..00b291581 100644 --- a/src/components/palette/PaletteProperty.svelte +++ b/src/components/palette/PaletteProperty.svelte @@ -169,6 +169,7 @@ align-items: baseline; gap: var(--wordplay-spacing); row-gap: var(--wordplay-spacing); + user-select: none; } .name { diff --git a/src/components/widgets/Checkbox.svelte b/src/components/widgets/Checkbox.svelte index 6f29269f6..989ea44a5 100644 --- a/src/components/widgets/Checkbox.svelte +++ b/src/components/widgets/Checkbox.svelte @@ -3,6 +3,8 @@ export let changed: undefined | ((value: boolean | undefined) => void) = undefined; export let editable = true; + /** Mandatory id for label */ + export let id: string | null; function handleInput() { if (changed) changed(on); @@ -11,6 +13,7 @@ (newFlags = withFlag( newFlags, @@ -140,9 +145,11 @@ value === true ))} /> - + {/each}
@@ -196,11 +203,12 @@ overflow-x: hidden; overflow-y: auto; } + .flag { display: flex; flex-direction: row; gap: var(--wordplay-spacing); - align-items: center; + align-items: normal; font-size: medium; }