From 0e75ad078dea39e530f57adb84a434e36726a6ff Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 28 Oct 2020 18:02:46 +0000 Subject: [PATCH] Avoid awkward breaks in toggle text --- src/components/Toggle.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Toggle.scss b/src/components/Toggle.scss index 8654dcf..7bfd284 100644 --- a/src/components/Toggle.scss +++ b/src/components/Toggle.scss @@ -19,6 +19,10 @@ limitations under the License. .toggle { display: flex; + > :first-child { + min-width: 100%; + } + > input[type='checkbox'] { // Remove the OS's representation display: none;