Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Commit 2af10e6

Browse files
committed
Added top margin to 'media-ish' types :)
1 parent f5982fe commit 2af10e6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

themes/base/components/gifs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<video style="width: {{%WIDTH}}px; height: {{%HEIGHT}}px" autoplay muted loop>
1+
<video class="gif" style="width: {{%WIDTH}}px; height: {{%HEIGHT}}px" autoplay muted loop>
22
<source src="{{%VIDEO_URL}}" type="video/mp4">
33
Update your browser, idiot!
44
</video>

themes/base/css/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
--pfp-size: 5.5vh;
99
--reply-size: 24px;
1010
--reply-line-width: 2px;
11+
--mediaish-margin-top: 5px;
1112
background-color: var(--background-primary);
1213
}
1314

@@ -160,13 +161,19 @@ p, h1, h2, h3, h4, h5, h6 {
160161
max-height: 70vh;
161162
object-position: left;
162163
object-fit: contain;
164+
margin-top: var(--mediaish-margin-top);
163165
}
164166

165167
.sticker {
166168
width: 160px;
167169
height: 160px;
168170
object-fit: contain;
169171
cursor: pointer;
172+
margin-top: var(--mediaish-margin-top);
173+
}
174+
175+
.gif {
176+
margin-top: var(--mediaish-margin-top);
170177
}
171178

172179
.msg-tot-wrapper {

0 commit comments

Comments
 (0)