Skip to content

Commit

Permalink
[enhancement] Improve mobile display of custom actions
Browse files Browse the repository at this point in the history
- attempt to match default actions display while still allowing for custom/wildcard content
  • Loading branch information
cee-chen committed Nov 14, 2023
1 parent 732783f commit 3a8ac38
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/components/table/_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,25 @@
.euiTableRowCell {
min-width: 50%;
border: none;

// Custom actions
&.euiTableRowCell--hasActions {
width: 100%;

&::before {
content: '';
position: absolute;
left: 0;
right: 0;
height: $euiBorderWidthThin;
background-color: $euiTableActionsBorderColor;
}

.euiTableCellContent {
position: relative;
top: $euiSizeXS;
}
}
}

.euiTableRowCellCheckbox {
Expand Down

0 comments on commit 3a8ac38

Please sign in to comment.