From c1afee57e9672a6044c1b38b0e516520705fc62c Mon Sep 17 00:00:00 2001 From: Sam Najian Date: Fri, 20 Jan 2023 12:14:29 +0100 Subject: [PATCH] Fix bug causing the percent sign to move on scroll [MAILPOET-4678] --- .../css/src/components-editor/content-blocks/_coupon.scss | 6 +++++- .../views/newsletter/templates/blocks/coupon/settings.hbs | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mailpoet/assets/css/src/components-editor/content-blocks/_coupon.scss b/mailpoet/assets/css/src/components-editor/content-blocks/_coupon.scss index 4701d5c35b..9637975104 100644 --- a/mailpoet/assets/css/src/components-editor/content-blocks/_coupon.scss +++ b/mailpoet/assets/css/src/components-editor/content-blocks/_coupon.scss @@ -27,10 +27,14 @@ } } +.coupon_amount_wrapper { + position: relative; +} + .amount_percentage_sign { font-size: 18px; font-weight: bold; - left: 140px; + left: 160px; // .mailpoet_input_medium width + 10px line-height: 30px; position: absolute; } diff --git a/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs b/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs index 9b4553ab97..ddc48c19d4 100644 --- a/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs +++ b/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs @@ -12,9 +12,9 @@