@import 'flow.variables'; // Shared styles for editors // This can be moved into the EditorWidget/EditorSwitcherWidget styles once the old editor // system has been removed. .flow-component { .oo-ui-toolbar { // The -@editorToolbarHeight matches the padding-bottom on .ve-ui-surface to put the toolbar inside // the editing area. margin-top: -@editorToolbarHeight; .oo-ui-toolbar { // But don't let these rules double-apply for nested toolbars margin: 0; } } }