From 49850a02bb8684e481fc6368f9c11232d824e872 Mon Sep 17 00:00:00 2001 From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> Date: Sun, 1 Sep 2024 18:09:49 -0400 Subject: Added color and centering defaults to formattedtextbox --- .../views/nodes/formattedText/FormattedTextBox.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.scss') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.scss b/src/client/views/nodes/formattedText/FormattedTextBox.scss index 99b4a84fc..15ce9ec8f 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.scss +++ b/src/client/views/nodes/formattedText/FormattedTextBox.scss @@ -14,6 +14,23 @@ } } +.formattedTextBox-inner { + &.h-center * { + display: flex; + justify-content: center; + } + + &.h-left * { + display: flex; + justify-content: flex-start; + } + + &.h-right * { + display: flex; + justify-content: flex-end; + } +} + .ProseMirror:focus { outline: none !important; } @@ -1035,3 +1052,4 @@ footnote::before { } } } + -- cgit v1.2.3-70-g09d2