Skip to content

Commit cefae7e

Browse files
committed
addressing PR feedback
1 parent 4356b11 commit cefae7e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/components/src/components/hds/advanced-table/th-context-menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class HdsAdvancedTableThContextMenu extends Component<HdsAdvanced
4444
options.push({
4545
key: 'reset-column-width',
4646
label: 'Reset column width',
47-
icon: 'reload',
47+
icon: 'rotate-ccw',
4848
action: (
4949
column: HdsAdvancedTableColumn,
5050
dropdownCloseCallback?: () => void

packages/components/src/styles/components/advanced-table.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ $hds-advanced-table-cell-padding-tall: 22px 16px 21px 16px; // the 1px differenc
128128
bottom: 0;
129129
z-index: 2;
130130
width: 24px;
131-
transform: translateX(50%);
131+
transform: translateX(12.5px); // (width of the handler (24px) + border width (1px)) / 2 == 12.5px
132132
cursor: col-resize;
133133

134134
&::after {
@@ -137,9 +137,6 @@ $hds-advanced-table-cell-padding-tall: 22px 16px 21px 16px; // the 1px differenc
137137
right: 0;
138138
bottom: 0;
139139
z-index: 2;
140-
width: 1px;
141-
background-color: $hds-advanced-table-border-color;
142-
transform: translateX(-11.5px); // (width of the handle (24px) - width of the visual handle (1px)) / 2 == 11.5px
143140
content: "";
144141
}
145142

0 commit comments

Comments
 (0)