diff options
| author | Shpuld Shpludson <shp@cock.li> | 2018-09-01 05:54:47 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2018-09-01 05:54:47 +0000 |
| commit | a8ae2a5b11a1afd5b1317e5b36130782864a4f10 (patch) | |
| tree | ab0dec3f0441b98940f1f0227d2fa285be6d7eca | |
| parent | 33b13d3775c2eca44e0319b79565d4b1aaeaf3f2 (diff) | |
| parent | 77e8933b2e8ab9947ed3f19810b2f28c3281e3f8 (diff) | |
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
| -rw-r--r-- | src/components/status/status.vue | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index bfe96d33..eb521280 100644 --- 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 { |
