From 578d61957a40096d9d5385af36dcd70654e9e832 Mon Sep 17 00:00:00 2001 From: Louis Lazaris Date: Sat, 25 Jul 2020 17:34:34 -0400 Subject: [PATCH] Error in the :checked:after style You mistakenly put "rotate" instead of "scale" in the standard version of the property. --- components/Checkbox/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Checkbox/style.css b/components/Checkbox/style.css index eb31fb7f7..de7d95791 100644 --- a/components/Checkbox/style.css +++ b/components/Checkbox/style.css @@ -14,9 +14,9 @@ /* Focus */ .Checkbox input[type='checkbox']:focus { box-shadow: 0 0 0 2px rgba(157, 157, 157, 0.5); } .Checkbox input[type='checkbox']:checked { background: #444; } - .Checkbox input[type='checkbox']:checked:after { opacity: 1;-webkit-transform: scale(1) rotate(45deg); transform: rotate(1) rotate(45deg); } + .Checkbox input[type='checkbox']:checked:after { opacity: 1;-webkit-transform: scale(1) rotate(45deg); transform: scale(1) rotate(45deg); } /* Selection */ .Checkbox { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /* Fonts */ @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap'); - .Checkbox { font-family: 'Open Sans', sans-serif; } \ No newline at end of file + .Checkbox { font-family: 'Open Sans', sans-serif; }