misc: move cart@ds + button next to file upload widget (#35724)
This commit is contained in:
parent
c066091aaf
commit
b5959701f4
|
@ -2,4 +2,5 @@
|
|||
|
||||
@import 'vars';
|
||||
@import '../includes/publik';
|
||||
@import '../includes/cartads';
|
||||
@import 'custom';
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
div.template-pieces-cartads {
|
||||
div.piece {
|
||||
button.plus {
|
||||
margin-top: 60px;
|
||||
&:disabled {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: $very-small-limit) {
|
||||
margin-top: 0;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
div.title + div.file-upload-widget + div.file-upload-widget + div.file-upload-widget + div.button-plus {
|
||||
// special case when there are three file upload
|
||||
// widgets and the + button goes to a new line
|
||||
button {
|
||||
margin-top: 0;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
@import '../includes/font-oswald';
|
||||
@import '../includes/font-raleway';
|
||||
@import '../includes/publik';
|
||||
@import '../includes/cartads';
|
||||
@import 'specialpages';
|
||||
@import 'maps';
|
||||
@import 'forms';
|
||||
|
|
|
@ -45,11 +45,11 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="grid-1-1 newline">
|
||||
{% if piece.max_files > 1 %}
|
||||
<button class="plus" style="margin-bottom: 2rem;">+</button>
|
||||
{% endif %}
|
||||
<div class="grid-1-12 button-plus">
|
||||
<button class="plus">+</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue