Skip to content

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

Add margin under 'pick the most ...' text

dominik-zeglenda15ce42e71a
diff --git a/saleor/static/dashboard/scss/components/_form.scss b/saleor/static/dashboard/scss/components/_form.scss
index bc8c295b77..7b73db0b14 100644
--- a/saleor/static/dashboard/scss/components/_form.scss
+++ b/saleor/static/dashboard/scss/components/_form.scss
@@ -25,10 +25,15 @@
width: 100%;
}
- p.help-block {
- margin: -7px 0 15px;
- font-size: $label-font-size;
- clear: both;
+ p {
+ &.help-block {
+ margin: -7px 0 15px;
+ font-size: $label-font-size;
+ clear: both;
+ }
+ &.margin {
+ margin-bottom: 25px;
+ }
}
.input-field {
@@ -166,7 +171,7 @@
border-radius: 50%;
}
.filled-in:not(:checked) + label:after {
- border:none;
+ border: none;
}
}
diff --git a/saleor/static/dashboard/scss/components/_ppoi.scss b/saleor/static/dashboard/scss/components/_ppoi.scss
index c76568275e..0f8e94ee24 100644
--- a/saleor/static/dashboard/scss/components/_ppoi.scss
+++ b/saleor/static/dashboard/scss/components/_ppoi.scss
@@ -12,7 +12,3 @@
.point-stage {
@include ppoi;
}
-
-label.versatileimagefield-label {
- display: block;
-}
diff --git a/templates/dashboard/product/product_image/versatile_image.html b/templates/dashboard/product/product_image/versatile_image.html
index 6deb768f1a..afe61884e6 100644
--- a/templates/dashboard/product/product_image/versatile_image.html
+++ b/templates/dashboard/product/product_image/versatile_image.html
@@ -6,7 +6,7 @@
<label class="versatileimagefield-label">
{% trans "Primary Point of Interest" %}
</label>
- <p class="no-margin">
+ <p class="margin">
{% trans "Pick the most relevant part of the image using the red circle." context "Image form text" %}
</p>
<div class="image-wrap outer">