From 4dfaa914fd5e7783097906f6784cb5022432d16e Mon Sep 17 00:00:00 2001 From: Martin Laws Date: Thu, 5 Dec 2019 17:02:41 -0500 Subject: [PATCH] Fix default checkbox size to align with material Fixes #17656 Both [Material Designs Guidlines](https://material.io/components/selection-controls/#) and [Material Designs Sketch UI Kit](https://storage.googleapis.com/material-design/downloads/material-design-stickersheet.sketch) show the default size of a checkbox as 18x18 (14x14 + 2px border) upon inspecting the code. --- src/material/core/style/_checkbox-common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/core/style/_checkbox-common.scss b/src/material/core/style/_checkbox-common.scss index d921d9c972d0..c6efbbac1537 100644 --- a/src/material/core/style/_checkbox-common.scss +++ b/src/material/core/style/_checkbox-common.scss @@ -1,7 +1,7 @@ @import './variables'; // The width/height of the checkbox element. -$mat-checkbox-size: 16px !default; +$mat-checkbox-size: 18px !default; // The width of the checkbox border shown when the checkbox is unchecked. $mat-checkbox-border-width: 2px;