Make StickyBar flex

This commit is contained in:
Henrik Giesel 2021-04-28 02:55:35 +02:00
parent 8aa3f5f2fa
commit 2f5074bff6
4 changed files with 5 additions and 8 deletions

View File

@ -10,6 +10,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<style lang="scss">
nav {
display: flex;
flex-wrap: wrap;
position: sticky;
top: 0;
left: 0;

View File

@ -47,8 +47,5 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<StickyBar>
<NoteTypeButtons />
<FormatInlineButtons />
<FormatBlockButtons />
<ColorButtons />
<TemplateButtons />
</StickyBar>
</WithTheming>

View File

@ -60,7 +60,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</WithShortcut>
</ButtonGroup>
<DropdownMenu id={matjaxMenuId}>
<DropdownMenu id={mathjaxMenuId}>
<WithShortcut shortcut="Control+KeyM, KeyM" let:createShortcut let:shortcutLabel>
<DropdownItem on:click={() => wrap('\\(', '\\)')}>
{tr.editingMathjaxInline}

View File

@ -36,7 +36,4 @@ export function initToolbar(i18n: Promise<void>): Promise<EditorToolbar> {
// @ts-expect-error insufficient typing of svelte modules
export { enableButtons, disableButtons } from "./EditorToolbar.svelte";
// @ts-expect-error insufficient typing of svelte modules
export {
updateActiveButtons,
clearActiveButtons,
} from "components/CommandIconButton.svelte";
export { updateActiveButtons, clearActiveButtons } from "components/CommandIconButton.svelte";