From f64caa7f43fef166af8abb1d47616f525515b32d Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 1 Aug 2018 16:55:30 -0300 Subject: [PATCH] Add margin auto to center the checkbox to the middle of the parent component. --- src/renderer/scss/component/_toggle.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/scss/component/_toggle.scss b/src/renderer/scss/component/_toggle.scss index e095c86ce..2b2647f9d 100644 --- a/src/renderer/scss/component/_toggle.scss +++ b/src/renderer/scss/component/_toggle.scss @@ -8,6 +8,8 @@ border: 0; padding: 0; user-select: none; + margin-top: auto; + margin-bottom: auto; } .react-toggle-screenreader-only {