1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-09-07 12:46:23 -07:00

Apply upload styling to embeds, remove unused thumbnail styles

This commit is contained in:
Eggbertx 2025-03-16 13:44:34 -07:00
parent 045311f675
commit 28f9029a54
5 changed files with 11 additions and 15 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -41,7 +41,7 @@
<div class="file-deleted-box" style="text-align:center;">File removed</div>
{{- else if ne $.post.Filename "" -}}
{{- template "uploadinfo" . -}}
<a class="upload-container" href="{{.post.UploadPath}}"></a>
<a class="upload-container" href="{{.post.UploadPath}}">
{{- if $.post.HasEmbed -}}
{{embedMedia .post.Filename .post.OriginalFilename $.board.Dir}}
{{- else -}}