Skip to content

Commit baa8a6e

Browse files
crisbetoandrewseguin
authored andcommitted
fix(table): inaccurate row height (#8303)
Fixes the table border throwing of the table row height by one pixel. Fixes #8299.
1 parent 7187670 commit baa8a6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/table/table.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ $mat-row-horizontal-padding: 24px;
2020
border-bottom-style: solid;
2121
align-items: center;
2222
padding: 0 $mat-row-horizontal-padding;
23+
box-sizing: border-box;
2324

2425
// Workaround for https://goo.gl/pFmjJD in IE 11. Adds a pseudo
2526
// element that will stretch the row the correct height. See:

0 commit comments

Comments
 (0)