From 277ef0d4c2ed8cbdcdbca5564b8ce9ab40ebf306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Sch=C3=A4r?= <59233938+schaertim@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:38:02 +0100 Subject: [PATCH] fix(styles): Form-switch label alignment on mobile (#4314) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Oliver Schürch --- .changeset/flat-badgers-fly.md | 5 +++++ packages/styles/src/components/switch.scss | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/flat-badgers-fly.md diff --git a/.changeset/flat-badgers-fly.md b/.changeset/flat-badgers-fly.md new file mode 100644 index 0000000000..6e60585de5 --- /dev/null +++ b/.changeset/flat-badgers-fly.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-styles': patch +--- + +Fixed alignment of ´form-switch´ label. diff --git a/packages/styles/src/components/switch.scss b/packages/styles/src/components/switch.scss index 566afada11..52095498ec 100644 --- a/packages/styles/src/components/switch.scss +++ b/packages/styles/src/components/switch.scss @@ -198,6 +198,7 @@ $switch-handle-icon: url("data:image/svg+xml,