diff --git a/frontend/sass/global/_img.scss b/frontend/sass/global/_img.scss index 54f2f15a..f6678246 100755 --- a/frontend/sass/global/_img.scss +++ b/frontend/sass/global/_img.scss @@ -173,12 +173,16 @@ a.upload-container { outline: none; } -.upload, div.file-deleted-box { +.upload, .embed, div.file-deleted-box { margin: 5px 10px 5px 0px; float: left; max-width: 100%; } +.embed { + background: black; +} + div.file-deleted-box { width: 120px; height: 120px; diff --git a/frontend/sass/pipes/_img.scss b/frontend/sass/pipes/_img.scss index 1b79a34b..565e828c 100644 --- a/frontend/sass/pipes/_img.scss +++ b/frontend/sass/pipes/_img.scss @@ -5,12 +5,6 @@ background: colors.$bglight; } -img.thumbnail { - float: left; - max-width: 100%; - margin: 5px 10px 10px 0px; -} - .reply, .inlinepostprev, .postprev { background: colors.$postblock; border: 1px solid colors.$postblockcol; diff --git a/html/css/global.css b/html/css/global.css index 6bc16167..0935e9cb 100644 --- a/html/css/global.css +++ b/html/css/global.css @@ -190,12 +190,16 @@ a.upload-container { outline: none; } -.upload, div.file-deleted-box { +.upload, .embed, div.file-deleted-box { margin: 5px 10px 5px 0px; float: left; max-width: 100%; } +.embed { + background: black; +} + div.file-deleted-box { width: 120px; height: 120px; diff --git a/html/css/pipes.css b/html/css/pipes.css index 45cea127..012e906c 100644 --- a/html/css/pipes.css +++ b/html/css/pipes.css @@ -47,12 +47,6 @@ div#recent-posts-header { background: #404040; } -img.thumbnail { - float: left; - max-width: 100%; - margin: 5px 10px 10px 0px; -} - .reply, .inlinepostprev, .postprev { background: #25272D; border: 1px solid #8C94AB; diff --git a/templates/post.html b/templates/post.html index 4ac35a5c..443db7bc 100644 --- a/templates/post.html +++ b/templates/post.html @@ -41,7 +41,7 @@
File removed
{{- else if ne $.post.Filename "" -}} {{- template "uploadinfo" . -}} - + {{- if $.post.HasEmbed -}} {{embedMedia .post.Filename .post.OriginalFilename $.board.Dir}} {{- else -}}