From bb1fad912c8fb5b42512aeac9dfa65e64d10ad3f Mon Sep 17 00:00:00 2001 From: nod_ <nod_@598310.no-reply.drupal.org> Date: Thu, 24 Oct 2024 22:58:46 +0200 Subject: [PATCH] Issue #3463111 by sanket.tale, jaydeep_patel, yujiman85, sheetal.pathak, rachel_norfolk, sagarmohite0031, rduterte, binssss, smustgrave: Spacing issue between Checkbox label and button (cherry picked from commit bec7d011293a5fa023cfbac40f4ec80759fdcb4c) --- core/themes/claro/css/components/form.css | 4 ++++ core/themes/claro/css/components/form.pcss.css | 4 ++++ core/themes/olivero/css/components/form.css | 4 ++++ core/themes/olivero/css/components/form.pcss.css | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/core/themes/claro/css/components/form.css b/core/themes/claro/css/components/form.css index 27da255678c6..0e4b0368548f 100644 --- a/core/themes/claro/css/components/form.css +++ b/core/themes/claro/css/components/form.css @@ -161,6 +161,10 @@ tr .form-item, align-self: center; } +.form-actions > .form-wrapper { + margin-inline: 0 var(--space-s); +} + /** * Password module. * diff --git a/core/themes/claro/css/components/form.pcss.css b/core/themes/claro/css/components/form.pcss.css index 91b141b1301e..2aad69014296 100644 --- a/core/themes/claro/css/components/form.pcss.css +++ b/core/themes/claro/css/components/form.pcss.css @@ -140,6 +140,10 @@ tr .form-item, } } +.form-actions > .form-wrapper { + margin-inline: 0 var(--space-s); +} + /** * Password module. * diff --git a/core/themes/olivero/css/components/form.css b/core/themes/olivero/css/components/form.css index bf7ba606c4b4..22e75f5ddac0 100644 --- a/core/themes/olivero/css/components/form.css +++ b/core/themes/olivero/css/components/form.css @@ -158,6 +158,10 @@ tr .form-item, margin-block: var(--sp0-5); } +.form-actions > .form-wrapper { + margin-inline-end: var(--sp1); +} + .form-actions .ajax-progress--throbber { align-self: center; } diff --git a/core/themes/olivero/css/components/form.pcss.css b/core/themes/olivero/css/components/form.pcss.css index 2566c45a7e3f..3c60986d8a0d 100644 --- a/core/themes/olivero/css/components/form.pcss.css +++ b/core/themes/olivero/css/components/form.pcss.css @@ -139,6 +139,10 @@ tr .form-item, margin-block: var(--sp0-5); } +.form-actions > .form-wrapper { + margin-inline-end: var(--sp1); +} + .form-actions .ajax-progress--throbber { align-self: center; } -- GitLab