aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FormattedTextBox.scss
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-09-01 18:09:49 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-09-01 18:09:49 -0400
commit49850a02bb8684e481fc6368f9c11232d824e872 (patch)
tree35e082fc31cf5ecdf7efbb23a8ad4be5ed711713 /src/client/views/nodes/formattedText/FormattedTextBox.scss
parent8cecbcb66d0d377ad7c40bee5b3b42fb72239ddb (diff)
Added color and centering defaults to formattedtextbox
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.scss')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.scss18
1 files changed, 18 insertions, 0 deletions
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 {
}
}
}
+