From ed63ae5cc93afb375b8ebc90b37176c395e310b8 Mon Sep 17 00:00:00 2001 From: KilianShen <86402559+KilianShen@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:37:11 +0800 Subject: [PATCH] Update segmented.less MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复segmented组件滑块移动时超出边界 --- src/components/segmented/segmented.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/segmented/segmented.less b/src/components/segmented/segmented.less index 64ea95e0ce..8c3bd31c96 100644 --- a/src/components/segmented/segmented.less +++ b/src/components/segmented/segmented.less @@ -81,7 +81,7 @@ top: 0; left: 0; width: 0; - height: 100%; + height: calc(100% - 8px); padding: 4px 0; }