TASK: adjust naming of css class

This commit is contained in:
Simon Krull 2024-03-01 14:24:09 +01:00
parent 728dd7ea9b
commit 0360436981
3 changed files with 4 additions and 4 deletions

View file

@ -48,7 +48,7 @@ a {
padding-left: .2em;
}
.ui-media-upload-button {
.ui-element-spacer {
margin-bottom: 1em;
}

View file

@ -58,7 +58,7 @@
{% block sylius_product_image_widget %}
{% apply spaceless %}
{{ form_row(form.type) }}
<div class="ui-media-upload-button">
<div class="ui-element-spacer">
<label for="{{ form.file.vars.id }}" class="ui icon labeled button"><i class="cloud upload icon"></i> {{ 'sylius.ui.choose_file'|trans }}</label>
</div>
{% if form.vars.value.path|default(null) is not null %}
@ -80,7 +80,7 @@
{% apply spaceless %}
{{ form_row(form.type) }}
{% if form.vars.value.path|default(null) is null %}
<div class="ui-media-upload-button">
<div class="ui-element-spacer">
<label for="{{ form.file.vars.id }}" class="ui icon labeled button"><i class="cloud upload icon"></i> {{ 'sylius.ui.choose_file'|trans }}</label>
</div>
{% else %}

View file

@ -238,7 +238,7 @@
{% block sylius_image_widget %}
{% apply spaceless %}
{{ form_row(form.type) }}
<div class="ui-media-upload-button">
<div class="ui-element-spacer">
<label for="{{ form.file.vars.id }}" class="ui icon labeled button"><i class="cloud upload icon"></i> {{ 'sylius.ui.choose_file'|trans }}</label>
</div>
{% if form.vars.value.path|default(null) is not null %}