Skip to content
Permalink
Browse files

Merge branch '1.4'

* 1.4:
  Scaling text input field to keep enough room for the buttons
  • Loading branch information...
pamil committed Feb 11, 2019
2 parents b126174 + 81e1dbb commit d13afde9b5d05f33dca5689430c68ddefc8b3dc9
@@ -31,3 +31,15 @@ body {
.ui.unmargined.segments {
margin: 0;
}

#searchbar {
display: flex;
}

#searchbarTextField {
flex-grow: 100;
}

#searchbarButtons {
width: fit-content;
}
@@ -1,12 +1,12 @@
<div class="ui segment">
<form method="get" action="{{ path('sylius_shop_product_index', {'slug': app.request.attributes.get('slug')}) }}" class="ui loadable form">
<div class="ui stackable grid">
<div class="eleven wide column">
<div class="ui stackable grid" id="searchbar">
<div class="column" id="searchbarTextField">
{% for filter in products.definition.enabledFilters %}
{{ sylius_grid_render_filter(products, filter) }}
{% endfor %}
</div>
<div class="three wide column">
<div class="right aligned column" id="searchbarButtons">
<div class="ui buttons">
<button type="submit" class="ui primary icon labeled button"><i class="search icon"></i> {{ 'sylius.ui.search'|trans }}</button>
<a href="{{ path('sylius_shop_product_index', {'slug': app.request.attributes.get('slug')}) }}" class="ui negative icon labeled button">

0 comments on commit d13afde

Please sign in to comment.
You can’t perform that action at this time.