From af5c02aec2d3cb73c0a2057550d5ebcb01fd0c1f Mon Sep 17 00:00:00 2001 From: crisbeto Date: Wed, 8 Nov 2017 12:47:46 +0000 Subject: [PATCH] fix(table): inaccurate row height 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: