From bbc457f46af744b220589279d7c4c6c6b7aef5f3 Mon Sep 17 00:00:00 2001 From: yutent Date: Sun, 23 Apr 2023 00:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4space=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/space/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/space/index.js b/src/space/index.js index aad7193..22efad4 100644 --- a/src/space/index.js +++ b/src/space/index.js @@ -16,6 +16,7 @@ class Space extends Component { flex-wrap: wrap; align-items: center; width: 100%; + padding: 12px 0; gap: 12px; } :host([vertical]) { @@ -35,12 +36,12 @@ class Space extends Component { 'l': 12px, 'xl': 16px, 'xxl': 20px, - 'xxxl': 24px, - 'xxxxl': 28px + 'xxxl': 24px ); @loop $k, $v in $gaps { :host([gap='#{$k}']) { .container { + padding: $v 0; gap: $v; } }