From 0477022d2c467753a0d6d94236745bc9cbf5c067 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Wed, 26 Jan 2022 00:37:56 +0100 Subject: [PATCH] fix(material/slide-toggle): remove divs nested inside label (#21224) We made similar adjustments to other components that had `div` elements inside the control `label` (#20990, #20986), but we never fixed it for the slide toggle. (cherry picked from commit d1cd928714c2d6e3de75f9469ce58b06aad6353c) --- src/material/slide-toggle/slide-toggle.html | 18 +++++++++--------- src/material/slide-toggle/slide-toggle.scss | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/material/slide-toggle/slide-toggle.html b/src/material/slide-toggle/slide-toggle.html index d1ee1a490523..c00d1406ea3f 100644 --- a/src/material/slide-toggle/slide-toggle.html +++ b/src/material/slide-toggle/slide-toggle.html @@ -1,5 +1,5 @@