Skip to content

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

Fix Chromes resizing input bug

dominik-zeglenf1a6f43913ea
diff --git a/saleor/static/scss/components/_forms.scss b/saleor/static/scss/components/_forms.scss
index 77a253193c..96ed12e5fc 100644
--- a/saleor/static/scss/components/_forms.scss
+++ b/saleor/static/scss/components/_forms.scss
@@ -21,6 +21,7 @@
.phone-prefix-input {
display: grid;
grid-template-columns: 6rem calc(100% - 6rem);
+ align-items: stretch;
input {
border-left-color: transparent;
border: {
diff --git a/templates/userprofile/snippets/phone-prefix-widget.html b/templates/userprofile/snippets/phone-prefix-widget.html
index dfbb05b2e6..83ba1eec5d 100644
--- a/templates/userprofile/snippets/phone-prefix-widget.html
+++ b/templates/userprofile/snippets/phone-prefix-widget.html
@@ -1,5 +1,7 @@
<div class="phone-prefix-input">
{% for widget in widget.subwidgets %}
- {% include widget.template_name %}
+ <div>
+ {% include widget.template_name %}
+ </div>
{% endfor %}
</div>