mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-11 15:26:08 +01:00
Add medium size to catalog thumbnaisl because why not?
This commit is contained in:
parent
22b5d3f1cc
commit
7fa876099e
@ -17,6 +17,7 @@ if (active_page == 'catalog') $(function(){
|
|||||||
var value = this.value, old;
|
var value = this.value, old;
|
||||||
$(".grid-li").removeClass("grid-size-vsmall");
|
$(".grid-li").removeClass("grid-size-vsmall");
|
||||||
$(".grid-li").removeClass("grid-size-small");
|
$(".grid-li").removeClass("grid-size-small");
|
||||||
|
$(".grid-li").removeClass("grid-size-medium");
|
||||||
$(".grid-li").removeClass("grid-size-large");
|
$(".grid-li").removeClass("grid-size-large");
|
||||||
$(".grid-li").addClass("grid-size-"+value);
|
$(".grid-li").addClass("grid-size-"+value);
|
||||||
catalog.image_size = value;
|
catalog.image_size = value;
|
||||||
|
@ -778,6 +778,16 @@ pre {
|
|||||||
max-height: 192px;
|
max-height: 192px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.theme-catalog div.grid-size-medium img {
|
||||||
|
max-height: 33%;
|
||||||
|
max-width: 95%
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-catalog div.grid-size-medium {
|
||||||
|
min-width:200px; max-width: 200px;
|
||||||
|
max-height: 274px;
|
||||||
|
}
|
||||||
|
|
||||||
.theme-catalog div.grid-size-large img {
|
.theme-catalog div.grid-size-large img {
|
||||||
max-height: 40%;
|
max-height: 40%;
|
||||||
max-width: 95%
|
max-width: 95%
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
<select id="image_size" style="display: inline-block">
|
<select id="image_size" style="display: inline-block">
|
||||||
<option value="vsmall">{% trans 'Very small' %}</option>
|
<option value="vsmall">{% trans 'Very small' %}</option>
|
||||||
<option selected value="small">{% trans 'Small' %}</option>
|
<option selected value="small">{% trans 'Small' %}</option>
|
||||||
|
<option value="medium">{% trans 'Medium' %}</option>
|
||||||
<option value="large">{% trans 'Large' %}</option>
|
<option value="large">{% trans 'Large' %}</option>
|
||||||
</select>
|
</select>
|
||||||
<div class="threads">
|
<div class="threads">
|
||||||
|
Loading…
Reference in New Issue
Block a user