From c47451659f4b9b40baffbffe4ecd126f699cec0e Mon Sep 17 00:00:00 2001 From: Sanqi Date: Tue, 26 Dec 2023 19:18:56 +0800 Subject: [PATCH] fix: radio gap --- packages/quarkd/src/radio/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/quarkd/src/radio/style.css b/packages/quarkd/src/radio/style.css index ec006cc8..3d1d7753 100644 --- a/packages/quarkd/src/radio/style.css +++ b/packages/quarkd/src/radio/style.css @@ -15,7 +15,9 @@ :host([radiogrouphost][direction="horizontal"]) .quark-radio-group-wrapper { display: flex; - gap: var(--radio-horizontal-gap, 20px) +} +:host([radiogrouphost][direction="horizontal"]) ::slotted(*) { + margin-right: var(--radio-horizontal-gap, 20px); } :host([radiohost]) .quark-radio {