mirror of https://github.com/akuker/RASCSI.git
Style the width of the attach device dropdowns
This commit is contained in:
parent
24dc1bc4e7
commit
e1278f8164
|
@ -858,7 +858,7 @@ section#upload a p {
|
|||
|
||||
/*
|
||||
------------------------------------------------------------------------------
|
||||
Index > Section: Attach peripheral devices
|
||||
Index > Section: Attach devices
|
||||
------------------------------------------------------------------------------
|
||||
*/
|
||||
section#attach-devices table th:last-child,
|
||||
|
@ -870,6 +870,10 @@ section#attach-devices form {
|
|||
display: block;
|
||||
}
|
||||
|
||||
section#attach-devices table form select.table-dropdown {
|
||||
width: 16rem;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
section#attach-devices table tr th:nth-child(2),
|
||||
section#attach-devices table tr td:nth-child(2) {
|
||||
|
|
|
@ -455,7 +455,7 @@
|
|||
{% endfor %}
|
||||
{% if type in DISK_DEVICE_TYPES %}
|
||||
<label for="{{ type }}_drive_name">{{ _("Identify as:") }}</label>
|
||||
<select name="drive_name" id="{{ type }}_drive_name">
|
||||
<select name="drive_name" id="{{ type }}_drive_name" class="table-dropdown">
|
||||
<option value="">
|
||||
{{ _("Generic device") }}
|
||||
</option>
|
||||
|
@ -489,7 +489,7 @@
|
|||
{% endif %}
|
||||
</select>
|
||||
<label for="{{ type }}_image_file_name">{{ _("Image file:") }}</label>
|
||||
<select name="file_name" id="{{ type }}_image_file_name" {% if type not in REMOVABLE_DEVICE_TYPES %}required{% endif %}>
|
||||
<select name="file_name" id="{{ type }}_image_file_name" class="table-dropdown" {% if type not in REMOVABLE_DEVICE_TYPES %}required{% endif %}>
|
||||
<option value="" selected {% if type not in REMOVABLE_DEVICE_TYPES %}disabled{% endif %}>
|
||||
{% if type in REMOVABLE_DEVICE_TYPES %}
|
||||
{{ _("None") }}
|
||||
|
|
Loading…
Reference in New Issue