From 26ed30cd81705acf533636edb0b93bfbee67b69d Mon Sep 17 00:00:00 2001 From: zhangjingwei Date: Wed, 3 Jul 2024 10:29:18 +0800 Subject: [PATCH] fix: update row action button style 1. update the style of the row action buttons in the list page 2. update the style of the action buttons at the top of the detail page Change-Id: Ief764ce04f61eea06fd6274b55b41fe19f9f32ca --- src/components/Tables/Base/ItemActionButtons/index.jsx | 4 ++-- src/components/Tables/Base/ItemActionButtons/index.less | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Tables/Base/ItemActionButtons/index.jsx b/src/components/Tables/Base/ItemActionButtons/index.jsx index 5640f7bd..0f5a0abb 100644 --- a/src/components/Tables/Base/ItemActionButtons/index.jsx +++ b/src/components/Tables/Base/ItemActionButtons/index.jsx @@ -189,11 +189,11 @@ function DropdownActionButton({ } return ( - <> +
{firstElement} {dividerElement} {moreElement} - +
); } diff --git a/src/components/Tables/Base/ItemActionButtons/index.less b/src/components/Tables/Base/ItemActionButtons/index.less index d3faa20e..96ec2cb9 100644 --- a/src/components/Tables/Base/ItemActionButtons/index.less +++ b/src/components/Tables/Base/ItemActionButtons/index.less @@ -43,3 +43,8 @@ } } } + +.action-buttons { + display: flex; + align-items: center; +}