mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-08-26 05:41:56 +00:00
move inline style to the theme implementation
This commit is contained in:
parent
716cfbb597
commit
11b3b4d665
@ -902,7 +902,7 @@ function setPostImagePreview(elem, links) {
|
||||
for (var i = 0; i < links.length; i++) {
|
||||
if (/^[^?]+\.(?:jpe?g|gif|png|webp)$/i.test(links[i].href)) {
|
||||
var url = proxyURL(links[i].href);
|
||||
previewContainer.append($('<img src="' + url + '" class="image-preview" width="100%" />'));
|
||||
previewContainer.append($('<img src="' + url + '" class="image-preview" />'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1065,6 +1065,10 @@ samp {
|
||||
background: black;
|
||||
}
|
||||
|
||||
.preview-container img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.post-stats {
|
||||
display: flex;
|
||||
height: 34px;
|
||||
|
@ -274,6 +274,8 @@
|
||||
text-align: center
|
||||
overflow-y: auto
|
||||
background: black
|
||||
img
|
||||
width: 100%
|
||||
|
||||
.post-stats
|
||||
display: flex
|
||||
|
@ -1080,6 +1080,10 @@ samp {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.preview-container img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.post-stats {
|
||||
display: flex;
|
||||
height: 34px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user