From d7a8c14f999507a006667b0889b12928b1e28b76 Mon Sep 17 00:00:00 2001 From: Lauri Eskola <lauri.eskola@acquia.com> Date: Sat, 29 Jul 2023 11:38:30 +0300 Subject: [PATCH] Issue #3294000 by Stanzin, Gauravvvv, Aditya4478, Sakthivel M, sasanikolic: Refactor Claro's form--field-multiple stylesheet --- core/themes/claro/css/components/form--field-multiple.css | 6 ++---- .../claro/css/components/form--field-multiple.pcss.css | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/core/themes/claro/css/components/form--field-multiple.css b/core/themes/claro/css/components/form--field-multiple.css index eddb02b859f4..669c32c6830f 100644 --- a/core/themes/claro/css/components/form--field-multiple.css +++ b/core/themes/claro/css/components/form--field-multiple.css @@ -11,11 +11,9 @@ */ .field-multiple-table { - margin-top: var(--space-m); - margin-bottom: var(--space-m); + margin-block: var(--space-m); } .form-item--multiple .field-add-more-submit { - margin-top: 0; - margin-bottom: 0; + margin-block: 0; } diff --git a/core/themes/claro/css/components/form--field-multiple.pcss.css b/core/themes/claro/css/components/form--field-multiple.pcss.css index bfdc44dd5825..1be8db5b523b 100644 --- a/core/themes/claro/css/components/form--field-multiple.pcss.css +++ b/core/themes/claro/css/components/form--field-multiple.pcss.css @@ -4,11 +4,9 @@ */ .field-multiple-table { - margin-top: var(--space-m); - margin-bottom: var(--space-m); + margin-block: var(--space-m); } .form-item--multiple .field-add-more-submit { - margin-top: 0; - margin-bottom: 0; + margin-block: 0; } -- GitLab