From 7d2392ea327dfd67558ab2bf00c5c42f87426cb6 Mon Sep 17 00:00:00 2001 From: dengfuping Date: Tue, 19 Nov 2024 18:09:44 +0800 Subject: [PATCH] fix(ui): PageContainer footer bar button should align vertical --- packages/design/src/_util/genStyle.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/design/src/_util/genStyle.ts b/packages/design/src/_util/genStyle.ts index 83b7b24c3..f617a77df 100644 --- a/packages/design/src/_util/genStyle.ts +++ b/packages/design/src/_util/genStyle.ts @@ -44,6 +44,10 @@ export const genLargeStyle = (token: FullToken): CSSObject => { borderRadius: borderRadiusLG, // Button in Space.Compact ...genCompactStyle(`${antCls}-btn`), + // make button align vertical + ['& >span']: { + display: 'inline-block', + }, }, // Radio.Button [`${antCls}-radio-group`]: {