fix: hitting the enter key when focusing elements opens the reset menu

fixes #114
This commit is contained in:
2024-04-23 16:48:18 +02:00
parent 254a0c1aec
commit c9a031a1fd

View File

@@ -12,7 +12,7 @@
</svelte:head> </svelte:head>
{#if $serialPort} {#if $serialPort}
<form> <section>
<fieldset> <fieldset>
<legend <legend
><label ><label
@@ -281,11 +281,11 @@
</select> </select>
</fieldset> </fieldset>
{/if} {/if}
</form> </section>
{/if} {/if}
<style lang="scss"> <style lang="scss">
form { section {
overflow-y: auto; overflow-y: auto;
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
@@ -408,7 +408,6 @@
} }
&:focus { &:focus {
filter: brightness(120%);
outline: none; outline: none;
} }
} }