From 7758cd588cc806cf226a1d6e91b055f2a9298e73 Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Sun, 8 Oct 2023 13:23:57 +0200 Subject: [PATCH] fix(editor): remove toolbar separators and fix margin Signed-off-by: Erik Michelson --- .../editor-pane/tool-bar/tool-bar.module.scss | 12 ++---------- .../editor-page/editor-pane/tool-bar/tool-bar.tsx | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.module.scss b/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.module.scss index 80a7ce3b8..82defffc2 100644 --- a/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.module.scss +++ b/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.module.scss @@ -1,5 +1,5 @@ -/* - * SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file) +/*! + * SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ @@ -9,12 +9,4 @@ padding: 0.1875rem 0.5rem; min-width: 30px; } - - :global(.btn-group):not(:last-of-type)::after { - background-color: #e2e6ea; - width: 2px; - padding: 0.25rem 0; - content: ' '; - margin-left: 0.5rem; - } } diff --git a/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.tsx b/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.tsx index 4f1fa254d..939745c74 100644 --- a/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.tsx +++ b/frontend/src/components/editor-page/editor-pane/tool-bar/tool-bar.tsx @@ -40,7 +40,7 @@ export const ToolBar: React.FC = () => { return ( - +