From 847ad1dd845e076a0c41cc5c4290d2b2dacf64a1 Mon Sep 17 00:00:00 2001 From: yutent Date: Sat, 22 Apr 2023 23:45:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96button=E7=BB=84=E4=BB=B6l?= =?UTF-8?q?oading=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/form/button.js b/src/form/button.js index 9549dfd..e645e9e 100644 --- a/src/form/button.js +++ b/src/form/button.js @@ -258,7 +258,7 @@ class Button extends Component { render() { let style = styleMap({ 'margin-right': this.#empty ? 0 : '4px' }) return html` - From bbc457f46af744b220589279d7c4c6c6b7aef5f3 Mon Sep 17 00:00:00 2001 From: yutent Date: Sun, 23 Apr 2023 00:11:04 +0800 Subject: [PATCH 2/2] =?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; } }