Fix temperature controls in FF not fitting on one line
Mentioned in #2033
This commit is contained in:
parent
c336452f6c
commit
832d2f4155
3 changed files with 8 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
|
@ -435,8 +435,11 @@ table {
|
|||
}
|
||||
|
||||
&.temperature_tool {
|
||||
width: 18%;
|
||||
width: 16%;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&.temperature_actual {
|
||||
|
|
@ -444,7 +447,7 @@ table {
|
|||
}
|
||||
|
||||
&.temperature_target {
|
||||
width: 40%;
|
||||
width: 42%;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
</table>
|
||||
|
||||
<script type="text/html" id="temprow-template">
|
||||
<th class="temperature_tool" data-bind="text: name"></th>
|
||||
<td class="temperature_actual" data-bind="html: formatTemperature(actual())"></td>
|
||||
<th class="temperature_tool" data-bind="text: name, attr: {title: name}"></th>
|
||||
<td class="temperature_actual" data-bind="html: formatTemperature(actual()), attr: {title: formatTemperature(actual())}"></td>
|
||||
<td class="temperature_target">
|
||||
<form class="form-inline" style="margin:0" data-bind="submit: function(element) { $root.setTarget($data, element) }">
|
||||
<div class="input-prepend input-append">
|
||||
|
|
|
|||
Loading…
Reference in a new issue