logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: a8ae2a5b11a1afd5b1317e5b36130782864a4f10
parent: 33b13d3775c2eca44e0319b79565d4b1aaeaf3f2
Author: Shpuld Shpludson <shp@cock.li>
Date:   Sat,  1 Sep 2018 05:54:47 +0000

Merge branch 'fix/put-sense-into-rich-text-styles' into 'develop'

Add styles for h1/2/3/4/5 tags in status html for rich text

See merge request pleroma/pleroma-fe!328

Diffstat:

Msrc/components/status/status.vue24++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/components/status/status.vue b/src/components/status/status.vue @@ -335,11 +335,35 @@ font-style: italic; } + pre { + overflow: auto; + } + p { margin: 0; margin-top: 0.2em; margin-bottom: 0.5em; } + + h1 { + font-size: 1.1em; + line-height: 1.2em; + margin: 1.4em 0; + } + + h2 { + font-size: 1.1em; + margin: 1.0em 0; + } + + h3 { + font-size: 1em; + margin: 1.2em 0; + } + + h4 { + margin: 1.1em 0; + } } .retweet-info {