Better style for <select>

This commit is contained in:
Baptiste Gelez 2018-10-31 11:48:15 +01:00
parent 4a2f5aeeeb
commit 1a49569bf2
2 changed files with 2 additions and 2 deletions

View File

@ -458,7 +458,7 @@ main .article-meta .tags li a {
font-size: 1.2em;
max-width: 40rem;
}
input, textarea {
input, textarea, select {
transition: all 0.1s ease-in;
display: block;
width: 100%;

View File

@ -35,7 +35,7 @@
{% set license_infos = "Default license will be {{ instance.default_license }}" | _(instance=instance) %}
{{ macros::input(name="license", label="License", errors=errors, form=form, optional=true, details=license_infos) }}
<label for="cover">{{ "Illustration" | _ }}<small>{{ "Optional" | _ }}</small>{{ form.cover }}</label>
<label for="cover">{{ "Illustration" | _ }}<small>{{ "Optional" | _ }}</small></label>
<select id="cover" name="cover">
<option value="none" {% if not form.cover %}selected{% endif %}>{{ "None" | _ }}</option>
{% for media in medias %}