commit: 60903272366e1f236041841af3dca86628901a35
parent 5e8367227424fc2ff1683a244b55809ac4a52d3d
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 7 Jun 2021 20:02:09 +0300
moved some post styles into status body since they inferfere with usernames
Diffstat:
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/components/rich_content/rich_content.scss b/src/components/rich_content/rich_content.scss
@@ -1,11 +1,4 @@
.RichContent {
- font-family: var(--postFont, sans-serif);
- line-height: 1.4em;
- white-space: pre-wrap;
- overflow-wrap: break-word;
- word-wrap: break-word;
- word-break: break-word;
-
blockquote {
margin: 0.2em 0 0.2em 2em;
font-style: italic;
diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss
@@ -1,10 +1,21 @@
@import '../../_variables.scss';
.StatusBody {
+
.emoji {
--_still_image-label-scale: 0.5;
}
+ & .text,
+ & .summary {
+ font-family: var(--postFont, sans-serif);
+ white-space: pre-wrap;
+ overflow-wrap: break-word;
+ word-wrap: break-word;
+ word-break: break-word;
+ line-height: 1.4em;
+ }
+
.summary {
display: block;
font-style: italic;