aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-18 14:41:40 +0200
committerlain <lain@soykaf.club>2020-06-18 14:41:40 +0200
commitb0b33be9ddeb96fe808770604f6fab9c4d8d15c0 (patch)
treed45220e2aef96656cfad3fba8e80d5002f003d7a /src
parent8427c5a067a8b06ebb1e47d23ff3f70a16f921b8 (diff)
Poll, StatusContent: Move emoji css to status body.
Diffstat (limited to 'src')
-rw-r--r--src/components/poll/poll.vue6
-rw-r--r--src/components/status_content/status_content.vue24
2 files changed, 12 insertions, 18 deletions
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue
index 28f90006..adbb0555 100644
--- a/src/components/poll/poll.vue
+++ b/src/components/poll/poll.vue
@@ -75,12 +75,6 @@
@import '../../_variables.scss';
.poll {
- img.emoji {
- vertical-align: middle;
- object-fit: contain;
- width: 32px;
- height: 32px;
- }
.votes {
display: flex;
flex-direction: column;
diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue
index 8c2e8749..89f917dc 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;