posts: add hidden 540px thumbnail size option.

Add a hidden option for 540px size thumbnails. This option currently
isn't listed in the thumbnail size menu, but it can be enabled with an
URL param: https://danbooru.donmai.us/posts?size=540.
This commit is contained in:
evazion
2022-06-26 15:34:47 -05:00
parent 5795a651f1
commit f35bc60e51
5 changed files with 11 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ article.post-preview {
&.post-preview-270 { width: 270px; }
&.post-preview-270w { width: 270px; }
&.post-preview-360 { width: 360px; }
&.post-preview-540 { width: 540px; }
&.post-preview-720 { width: 720px; }
}
@@ -46,6 +47,7 @@ article.post-preview {
.post-preview-270 .post-preview-image { max-height: 270px; width: auto; }
.post-preview-270w .post-preview-image { max-height: 360px; width: auto; }
.post-preview-360 .post-preview-image { max-height: 360px; width: auto; }
.post-preview-540 .post-preview-image { max-height: 540px; width: auto; }
.post-preview-720 .post-preview-image { max-height: 720px; width: auto; }
.post-preview {