Better style for <select>
This commit is contained in:
parent
4a2f5aeeeb
commit
1a49569bf2
@ -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%;
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user