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"> <style lang="scss">
nav { nav {
display: flex;
flex-wrap: wrap;
position: sticky; position: sticky;
top: 0; top: 0;
left: 0; left: 0;

View file

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

View file

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

View file

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