Skip to content

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

Style dashboard PhonePrefixWidget

dominik-zeglen69cf4e0c588f
diff --git a/saleor/static/dashboard/scss/components/_form.scss b/saleor/static/dashboard/scss/components/_form.scss
index ccfc9661de..a48bd339c0 100644
--- a/saleor/static/dashboard/scss/components/_form.scss
+++ b/saleor/static/dashboard/scss/components/_form.scss
@@ -218,6 +218,17 @@
}
}
+.phone-prefix-input {
+ display: grid;
+ grid-template-columns: 8rem calc(100% - 8rem);
+ align-items: stretch;
+ &__field:last-of-type {
+ input[type="text"] {
+ margin-left: .5rem !important;
+ }
+ }
+}
+
.main form, .modal form {
@include form;
}