aboutsummaryrefslogtreecommitdiff
path: root/src/components/status_content/status_content.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-06-18 13:33:00 +0000
committerShpuld Shpludson <shp@cock.li>2020-06-18 13:33:00 +0000
commit6343ee929c71d444ab14de3cc17151cb9ca1eb06 (patch)
treef4e857c4a9a7ce8ba84c7351c048b36e1e2d0531 /src/components/status_content/status_content.vue
parent2ea5bff3a7ef34d6f073db16bcfa6cebf879050a (diff)
parentb0b33be9ddeb96fe808770604f6fab9c4d8d15c0 (diff)
Merge branch '589-poll-options' into 'develop'
Polls: Construct an html field during normalization. Closes #589 See merge request pleroma/pleroma-fe!1146
Diffstat (limited to 'src/components/status_content/status_content.vue')
-rw-r--r--src/components/status_content/status_content.vue24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue
index 7adb67ae..efc2485e 100644
--- a/src/components/status_content/status_content.vue
+++ b/src/components/status_content/status_content.vue
@@ -164,23 +164,23 @@ $status-margin: 0.75em;
word-break: break-all;
}
+ img, video {
+ max-width: 100%;
+ max-height: 400px;
+ vertical-align: middle;
+ object-fit: contain;
+
+ &.emoji {
+ width: 32px;
+ height: 32px;
+ }
+ }
+
.status-content {
font-family: var(--postFont, sans-serif);
line-height: 1.4em;
white-space: pre-wrap;
- img, video {
- max-width: 100%;
- max-height: 400px;
- vertical-align: middle;
- object-fit: contain;
-
- &.emoji {
- width: 32px;
- height: 32px;
- }
- }
-
blockquote {
margin: 0.2em 0 0.2em 2em;
font-style: italic;