diff --git a/.gitignore b/.gitignore index f2e47aeb..c442db5a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ .phpunit /phpunit.xml ###< symfony/phpunit-bridge ### + +/.idea/ diff --git a/.idea/workspace.xml b/.idea/workspace.xml index eb4f0dca..cb369757 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,16 +2,10 @@ - - + - - - - - + - @@ -141,11 +115,12 @@ @@ -290,6 +265,17 @@ + + + + + + + + + + + @@ -399,12 +385,12 @@ 1520949897852 - + - @@ -674,14 +660,6 @@ - - - - - - - - @@ -700,14 +678,6 @@ - - - - - - - - @@ -718,14 +688,6 @@ - - - - - - - - @@ -742,16 +704,6 @@ - - - - - - - - - - @@ -762,8 +714,50 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/css/global.scss b/assets/css/global.scss index 8830e3e9..434ea472 100644 --- a/assets/css/global.scss +++ b/assets/css/global.scss @@ -2,3 +2,8 @@ $brand-primary: darken(#428bca, 20%); // the ~ allows you to reference things in node_modules @import '~bootstrap-sass/assets/stylesheets/bootstrap'; + +input { + width: auto; + min-width: 2em; +} diff --git a/templates/product/index.html.twig b/templates/product/index.html.twig index 5288aed4..62120260 100644 --- a/templates/product/index.html.twig +++ b/templates/product/index.html.twig @@ -15,12 +15,22 @@ {% for c in categories %}

{{ c.name }}

- {% for p in c.products %} - - {% endfor %} +
+ {% for p in c.products %} +
+ + + +
+ {% endfor %} +
+ {% endfor %}