comparison: use style on hidden select instead of CSS class to hide

This isn't a visual thing, this select element must remain hidden, so it
seems a bit more appropriate to me to specify the style directly on the
element rather than using a CSS class to do it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-09-26 16:03:52 +12:00
parent 5edeb03cb1
commit 606e14e412
3 changed files with 2 additions and 6 deletions

View File

@ -263,10 +263,6 @@ td.info {
background-color: #d9edf7 !important;
}
.hidden-select {
display: none !important;
}
.pre-plain {
background-color: transparent;
border-style: none;

View File

@ -38,7 +38,7 @@
{{ hidden }}
{% endfor %}
<select class="hidden-select" id="id_hidden_selectbox">
<select style="display: none;" id="id_hidden_selectbox">
</select>
<label for="id_selectrecipedialog-cover_status">Coverage</label> {{ comparison_form.cover_status }}

View File

@ -34,7 +34,7 @@
{{ hidden }}
{% endfor %}
<select class="hidden-select" id="id_hidden_selectbox">
<select style="display: none;" id="id_hidden_selectbox">
</select>
Coverage {{ comparison_form.cover_status }}