Skip to content

Commit af5c02a

Browse files
committed
fix(table): inaccurate row height
Fixes the table border throwing of the table row height by one pixel. Fixes #8299.
1 parent 1701b98 commit af5c02a

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)