From 146a3d936e716e0f1b421bb71d8c18d2593ab671 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroch Date: Tue, 6 Feb 2024 21:11:14 -0600 Subject: [PATCH] Fix corner rounding of alignment buttons in editor (#2989) * Fix corner rounding of alignment buttons in editor * Fix formatting * Fix cascading button-rounding issues --- CONTRIBUTORS | 1 + ts/editor/editor-toolbar/BlockButtons.svelte | 65 ++++++++++++-------- 2 files changed, 40 insertions(+), 26 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 964ce24c0..d6a7b94ac 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -158,6 +158,7 @@ Viktor Ricci Harvey Randall Pedro Lameiras Kai Knoblich +Lucas Scharenbroch ******************** diff --git a/ts/editor/editor-toolbar/BlockButtons.svelte b/ts/editor/editor-toolbar/BlockButtons.svelte index dbb08d113..01406132c 100644 --- a/ts/editor/editor-toolbar/BlockButtons.svelte +++ b/ts/editor/editor-toolbar/BlockButtons.svelte @@ -127,36 +127,49 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - {@html justifyLeftIcon} - + + + {@html justifyLeftIcon} + + - - {@html justifyCenterIcon} - + + + {@html justifyCenterIcon} + + - - {@html justifyRightIcon} - + + + {@html justifyRightIcon} + + - - {@html justifyFullIcon} - + + + {@html justifyFullIcon} + + +