From 48b83d7e412403df0618a6ef2bb5e03a82da88f1 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sun, 16 Aug 2020 11:22:07 -0700 Subject: [PATCH] Fix CSS for Firefox. --- components/common/Checkbox.module.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/common/Checkbox.module.css b/components/common/Checkbox.module.css index c0ddde48..267a4054 100644 --- a/components/common/Checkbox.module.css +++ b/components/common/Checkbox.module.css @@ -1,6 +1,7 @@ .container { display: flex; align-items: center; + position: relative; overflow: hidden; } @@ -20,8 +21,9 @@ .input { position: absolute; + visibility: hidden; height: 0; width: 0; - bottom: -1px; - right: -1px; + bottom: 100%; + right: 100%; }