From a3c64526203d68c6d2518feb4bc765c49c99702f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 7 Jun 2021 20:02:09 +0300 Subject: [PATCH] moved some post styles into status body since they inferfere with usernames --- src/components/rich_content/rich_content.scss | 7 ------- src/components/status_body/status_body.scss | 11 +++++++++++ 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 index a486babf..12cb9776 100644 --- 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 index 6282919c..b65e3b27 100644 --- 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;