diff --git a/core/static/core/accordion.scss b/core/static/core/accordion.scss index 28a7f75b..23bb2fa6 100644 --- a/core/static/core/accordion.scss +++ b/core/static/core/accordion.scss @@ -46,6 +46,10 @@ details.accordion>.accordion-content { border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; overflow: hidden; + + @media screen and (max-width: 600px) { + padding: .75em 1.5em; + } } @mixin animation($selector) { diff --git a/counter/static/counter/css/counter-click.scss b/counter/static/counter/css/counter-click.scss index 6288f902..00f882bf 100644 --- a/counter/static/counter/css/counter-click.scss +++ b/counter/static/counter/css/counter-click.scss @@ -42,7 +42,28 @@ min-width: 350px; ul { - list-style-type: none; + list-style: none; + display: flex; + flex-direction: column; + gap: .5rem; + margin-left: 0; + + .basket-row { + display: flex; + align-items: center; + gap: 1rem; + + .product-name { + flex: 1 2 0; + min-width: 0; + text-wrap: wrap; + } + } + } + + form { + margin-top: .5rem; + margin-bottom: .5rem; } } diff --git a/counter/templates/counter/counter_click.jinja b/counter/templates/counter/counter_click.jinja index c92c8f9f..cca00cda 100644 --- a/counter/templates/counter/counter_click.jinja +++ b/counter/templates/counter/counter_click.jinja @@ -56,7 +56,7 @@