diff --git a/src/components/editor/editor-pane/editor-pane.scss b/src/components/editor/editor-pane/editor-pane.scss index 43d0583e3..c9a928476 100644 --- a/src/components/editor/editor-pane/editor-pane.scss +++ b/src/components/editor/editor-pane/editor-pane.scss @@ -13,3 +13,7 @@ height: 100%; } +.btn-toolbar .btn { + padding: 0.1875rem 0.5rem; + min-width: 30px; +} diff --git a/src/components/editor/editor-pane/tool-bar/tool-bar.tsx b/src/components/editor/editor-pane/tool-bar/tool-bar.tsx index f2819fc72..c3b3309ad 100644 --- a/src/components/editor/editor-pane/tool-bar/tool-bar.tsx +++ b/src/components/editor/editor-pane/tool-bar/tool-bar.tsx @@ -1,5 +1,5 @@ import { Editor, EditorConfiguration } from 'codemirror' -import React, { Fragment } from 'react' +import React from 'react' import { Button, ButtonGroup, ButtonToolbar } from 'react-bootstrap' import { useTranslation } from 'react-i18next' import { ForkAwesomeIcon } from '../../../common/fork-awesome/fork-awesome-icon' @@ -44,79 +44,77 @@ export const ToolBar: React.FC = ({ editor, onPreferencesChange, e } return ( - - - - - - - - - - -   - - - - - - - - -   - - - - - -   - - - - - - -   - - - - - + + + + + + + + + +   + + + + + + + + +   + + + + + +   + + + + + + +   + + + + ) }