Skip to content

Commit 1234cfd

Browse files
fix(DataTable): fix padding issue with batch actions (#14024)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent b440e5f commit 1234cfd

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/styles/scss/components/button/_button.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
);
157157

158158
> :first-child {
159+
min-width: rem(16px);
159160
margin-block-start: rem(1px);
160161
}
161162

packages/styles/scss/components/data-table/action/_data-table-action.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
@use '../../../utilities/button-reset';
1414
@use '../../../utilities/convert' as *;
1515
@use '../../../utilities/focus-outline' as *;
16-
@use '../../button/vars' as *;
1716

1817
/// Data table action styles
1918
/// @access public
@@ -411,7 +410,8 @@
411410
}
412411

413412
.#{$prefix}--action-list .#{$prefix}--btn {
414-
padding: $button-padding-ghost;
413+
padding-right: $spacing-05;
414+
padding-left: $spacing-05;
415415
color: $text-on-color;
416416
white-space: nowrap;
417417
}

0 commit comments

Comments
 (0)