Skip to content

Commit 72699d7

Browse files
authored
feat: add --vaadin-grid-cell-text-overflow CSS custom property (#10787)
1 parent aed3d71 commit 72699d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/grid/src/styles/vaadin-grid-base-styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export const gridStyles = css`
387387
.cell ::slotted(vaadin-grid-cell-content) {
388388
display: block;
389389
overflow: hidden;
390-
text-overflow: ellipsis;
390+
text-overflow: var(--vaadin-grid-cell-text-overflow, ellipsis);
391391
padding: var(--_cell-padding);
392392
flex: 1;
393393
min-height: 1lh;

packages/vaadin-lumo-styles/src/components/grid.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
width: 100%;
191191
box-sizing: border-box;
192192
overflow: hidden;
193-
text-overflow: ellipsis;
193+
text-overflow: var(--vaadin-grid-cell-text-overflow, ellipsis);
194194
cursor: inherit;
195195
padding: var(--_cell-padding);
196196
}

0 commit comments

Comments
 (0)