prevent click event on spacebar

font-size had to be normalized for the menubar__buttons
This commit is contained in:
Chrissi2812 2019-05-28 14:44:04 +02:00
parent 94b2846695
commit 036d853378
No known key found for this signature in database
GPG Key ID: B4B82C7E618271DA
2 changed files with 6 additions and 2 deletions

View File

@ -105,7 +105,7 @@
<icon name="redo" /> <icon name="redo" />
</button> </button>
<button <span
class="menubar__button" class="menubar__button"
@click="editor.commands.toggleSearch" @click="editor.commands.toggleSearch"
> >
@ -124,7 +124,7 @@
> >
<button @click="editor.commands.find(searchTerm)">Find</button> <button @click="editor.commands.find(searchTerm)">Find</button>
</div> </div>
</button> </span>
</div> </div>
</editor-menu-bar> </editor-menu-bar>

View File

@ -33,4 +33,8 @@
background-color: rgba($color-black, 0.1); background-color: rgba($color-black, 0.1);
} }
} }
span#{&}__button {
font-size: 13.3333px;
}
} }