Poll, StatusContent: Move emoji css to status body.

This commit is contained in:
lain 2020-06-18 14:41:40 +02:00
parent 8427c5a067
commit b0b33be9dd
2 changed files with 12 additions and 18 deletions

View file

@ -75,12 +75,6 @@
@import '../../_variables.scss'; @import '../../_variables.scss';
.poll { .poll {
img.emoji {
vertical-align: middle;
object-fit: contain;
width: 32px;
height: 32px;
}
.votes { .votes {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -164,23 +164,23 @@ $status-margin: 0.75em;
word-break: break-all; 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 { .status-content {
font-family: var(--postFont, sans-serif); font-family: var(--postFont, sans-serif);
line-height: 1.4em; line-height: 1.4em;
white-space: pre-wrap; white-space: pre-wrap;
img, video {
max-width: 100%;
max-height: 400px;
vertical-align: middle;
object-fit: contain;
&.emoji {
width: 32px;
height: 32px;
}
}
blockquote { blockquote {
margin: 0.2em 0 0.2em 2em; margin: 0.2em 0 0.2em 2em;
font-style: italic; font-style: italic;