Skip to content

Commit

Permalink
[PR feedback] Fix custom table cell className CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Apr 16, 2024
1 parent 8d9b362 commit 4055eff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { TableFieldValue } from '../table_cell_value';
export const ACTIONS_COLUMN: EuiBasicTableColumn<FieldRecordLegacy> = {
field: 'action',
className: 'kbnDocViewer__tableActionsCell',
width: '120px',
width: '108px',
mobileOptions: { header: false },
name: (
<EuiText size="xs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@

.kbnDocViewer__tableActionsCell,
.kbnDocViewer__tableFieldNameCell {
align-items: flex-start;
padding: $euiSizeXS;
.euiTableCellContent {
align-items: flex-start;
padding: $euiSizeXS;
}
}

.kbnDocViewer__tableValueCell {
flex-direction: column;
align-items: flex-start;
.euiTableCellContent {
flex-direction: column;
align-items: flex-start;
}
}

.kbnDocViewer__value {
Expand Down

0 comments on commit 4055eff

Please sign in to comment.