From baa8a6e82739e5a27d26f5c4f3a72f4bd0b59dab Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 12 Jan 2018 18:38:54 +0100 Subject: [PATCH] fix(table): inaccurate row height (#8303) Fixes the table border throwing of the table row height by one pixel. Fixes #8299. --- src/lib/table/table.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/table/table.scss b/src/lib/table/table.scss index ac41e96ddebc..cea1edc77345 100644 --- a/src/lib/table/table.scss +++ b/src/lib/table/table.scss @@ -20,6 +20,7 @@ $mat-row-horizontal-padding: 24px; border-bottom-style: solid; align-items: center; padding: 0 $mat-row-horizontal-padding; + box-sizing: border-box; // Workaround for https://goo.gl/pFmjJD in IE 11. Adds a pseudo // element that will stretch the row the correct height. See: