From 38ac79eb874ce018c548b54d6ac1a3881b484788 Mon Sep 17 00:00:00 2001 From: zuzanna-maria Date: Tue, 8 Oct 2024 11:25:46 +0100 Subject: [PATCH] Fixed spacing on form settings modal #1644 --- customize.dist/src/less2/include/checkmark.less | 2 +- www/form/app-form.less | 14 ++++++++++++++ www/form/inner.js | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/customize.dist/src/less2/include/checkmark.less b/customize.dist/src/less2/include/checkmark.less index bd2d96e58..62b821bea 100644 --- a/customize.dist/src/less2/include/checkmark.less +++ b/customize.dist/src/less2/include/checkmark.less @@ -137,7 +137,7 @@ } .cp-radio { - margin: 0; + margin: 0.2rem 0 0.2rem 0; display: flex; align-items: center; position: relative; diff --git a/www/form/app-form.less b/www/form/app-form.less index 00fdfafb2..4ab4deb9a 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -980,6 +980,7 @@ .cp-radio, .cp-checkmark { display: inline-flex; max-width: 100%; + margin: 0.2rem; } .cp-checkmark-label { word-break: break-word; @@ -1318,6 +1319,19 @@ } } } + .cp-form-status { + margin-bottom: 0.2rem; + } + .cp-form-mute-radio { + margin-top: 0.2rem; + } + .cp-form-privacy-container { + margin-top: 0.8rem + } + .cp-form-results-type { + display: inline-block; + margin: 0.2rem 0 0.2rem 0; + } } } & > .flatpickr-calendar { diff --git a/www/form/inner.js b/www/form/inner.js index 3428d98b6..c3ffa008c 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -4928,7 +4928,7 @@ define([ // End date / Closed state var endDateContainer = h('div.cp-form-status-container'); - var endDateStr = h('div'); + var endDateStr = h('div.cp-form-status'); var $endDate = $(endDateContainer); var $endDateStr = $(endDateStr);