fix width of order-box

This commit is contained in:
yfujita 2017-08-04 17:17:13 +09:00
parent a3323eb54d
commit c1ba3cb933
2 changed files with 36 additions and 2 deletions

View file

@ -9,4 +9,38 @@
display: inline;
width: 50%;
}
/* Large desktop */
@media ( min-width : 74.9em) {
.order-box {
width: 20%
}
}
/* Large devices (desktops, less than 75em) */
@media ( max-width : 74.9em) {
.order-box {
width: 20%
}
}
/* Medium devices (tablets, less than 62em) */
@media ( max-width : 61.9em) {
.order-box {
width: 20%
}
}
/* Small devices (landscape phones, less than 48em) */
@media ( max-width : 47.9em) {
.order-box {
width: 50%
}
}
/* Extra small devices (portrait phones, less than 34em) */
@media ( max-width : 360px) {
.order-box {
width: 50%
}
}
}

View file

@ -3,10 +3,10 @@
<table width="100%">
<tbody>
<tr>
<td width="50%">
<td>
{{record_count}} {result.number} ({{exec_time}}{result.second})
</td>
<td width="20%" align="right">
<td class="order-box" align="right">
<div class="order">
{result.order}:
<select class="form-control sort">