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;
|
font-size: 1.2em;
|
||||||
max-width: 40rem;
|
max-width: 40rem;
|
||||||
}
|
}
|
||||||
input, textarea {
|
input, textarea, select {
|
||||||
transition: all 0.1s ease-in;
|
transition: all 0.1s ease-in;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
{% set license_infos = "Default license will be {{ instance.default_license }}" | _(instance=instance) %}
|
{% 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) }}
|
{{ 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">
|
<select id="cover" name="cover">
|
||||||
<option value="none" {% if not form.cover %}selected{% endif %}>{{ "None" | _ }}</option>
|
<option value="none" {% if not form.cover %}selected{% endif %}>{{ "None" | _ }}</option>
|
||||||
{% for media in medias %}
|
{% for media in medias %}
|
||||||
|
Loading…
Reference in New Issue
Block a user