Make StickyBar flex
This commit is contained in:
parent
8aa3f5f2fa
commit
2f5074bff6
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user