Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fix refine date inputs being too small (#1405)

* add refine-date class

* set refine-date width in css

* !important width for refine date as to avoid responsive css to change it

* remove size for date inputs
Cette révision appartient à :
kilo 2017-08-27 02:51:19 +02:00 révisé par ewhal
Parent 46d974b6c6
révision 1475da3cc0
2 fichiers modifiés avec 5 ajouts et 2 suppressions

Voir le fichier

@ -425,6 +425,9 @@ select.form-input {
width: 47%;
position: relative;
}
.refine-date {
width: 98px!important;
}
.categories a {
display: inline-block;

Voir le fichier

@ -55,9 +55,9 @@
</span>
<span class="form-refine">
<span class="spacing">{{ T("from")}}</span>
<input class="form-input" size="7" name="fromDate" type="text" value="{{Search.FromDate}}" placeholder="YYYY/MM/DD"/>
<input class="form-input refine-date" name="fromDate" type="text" value="{{Search.FromDate}}" placeholder="YYYY/MM/DD"/>
{{ T("to")}}
<input class="form-input" size="7" name="toDate" type="text" value="{{Search.ToDate}}" placeholder="YYYY/MM/DD"/>
<input class="form-input refine-date" name="toDate" type="text" value="{{Search.ToDate}}" placeholder="YYYY/MM/DD"/>
</span>
<span class="form-refine show-xs" style="margin-bottom: 2px;">
<span class="spacing">{{T("sort_by")}}</span>