Skip to content

Commit 05c8cde

Browse files
increased overflow menu item with to show more text visible in menu link (#4038)
* increased overflow menu item with to show more text visible in menu link * fixed lint issue * format issued fixed
1 parent e4ff9bd commit 05c8cde

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

packages/react/src/components/OverflowMenu/_overflow-menu.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@ button.#{$iot-prefix}--overflow-menu-icon {
3232
width: unset;
3333
font-size: 0.875rem;
3434
}
35+
36+
.#{$prefix}--overflow-menu-options {
37+
inline-size: 14rem;
38+
}
39+
40+
.#{$prefix}--overflow-menu-options__btn {
41+
max-inline-size: 14.25rem;
42+
}

packages/react/src/components/Table/TableToolbar/_table-toolbar.scss

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@use '@carbon/react/scss/components/data-table' as *;
1212

1313
$duration-fast-02: 110ms;
14+
1415
div.#{$prefix}--toolbar-action.#{$prefix}--toolbar-search-container-expandable {
1516
> div.#{$prefix}--search.#{$prefix}--search--sm.table-toolbar-search {
1617
flex-grow: 2;
@@ -113,6 +114,7 @@ html[dir='rtl'] {
113114
.#{$prefix}--action-list {
114115
left: 0;
115116
right: auto;
117+
116118
.#{$prefix}--btn .#{$prefix}--btn__icon {
117119
margin-left: 0;
118120
margin-right: $spacing-03;
@@ -193,9 +195,3 @@ html[dir='rtl'] {
193195
}
194196
}
195197
}
196-
197-
.#{$iot-prefix}--table-overflow-batch-actions__menu {
198-
&:after {
199-
// background-color: $hover-primary; // $hover-primary
200-
}
201-
}

0 commit comments

Comments
 (0)