mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-11 13:26:16 +00:00
fix: hitting the enter key when focusing elements opens the reset menu
fixes #114
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</svelte:head>
|
||||
|
||||
{#if $serialPort}
|
||||
<form>
|
||||
<section>
|
||||
<fieldset>
|
||||
<legend
|
||||
><label
|
||||
@@ -281,11 +281,11 @@
|
||||
</select>
|
||||
</fieldset>
|
||||
{/if}
|
||||
</form>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
<style lang="scss">
|
||||
form {
|
||||
section {
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
@@ -408,7 +408,6 @@
|
||||
}
|
||||
|
||||
&:focus {
|
||||
filter: brightness(120%);
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user