Skip to content

Saleor Core: the high performance, composable, headless commerce API.

WIP mobile UI

Pacu29cb101fcff68
diff --git a/saleor/static/scss/storefront.scss b/saleor/static/scss/storefront.scss
index d6c867caa6..614740374b 100644
--- a/saleor/static/scss/storefront.scss
+++ b/saleor/static/scss/storefront.scss
@@ -28,3 +28,9 @@
@import "layouts/product-list";
@import "layouts/product-page";
@import "layouts/styleguide";
+
+.scrollable-menu {
+ height: auto;
+ max-height: 200px;
+ overflow-x: hidden;
+}
diff --git a/templates/_language_picker.html b/templates/_language_picker.html
index 907001f447..dbc155c908 100644
--- a/templates/_language_picker.html
+++ b/templates/_language_picker.html
@@ -9,7 +9,7 @@
</a>
{% get_available_languages as LANGUAGES %}
{% get_language_info_list for LANGUAGES as languages %}
- <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
+ <div class="dropdown-menu scrollable-menu" role="menu" aria-labelledby="dropdownMenuLink">
<form id="language-picker" action="{% url 'set_language' %}" method="post">
{% csrf_token %}
<input name="next" type="hidden" value="/">