From f37d29277a4b3da00ceb1e80076eb7fa3c3abf3d Mon Sep 17 00:00:00 2001 From: aniruddhzaveri Date: Sat, 23 May 2026 15:22:26 +0200 Subject: [PATCH 1/2] `Bugfix`: Keep toggle switch X icon centered at all browser zoom levels Co-Authored-By: Claude Opus 4.7 (1M context) --- .../components/atoms/toggle-switch/toggle-switch.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html b/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html index 6c14530bb7..ee0d458ebf 100644 --- a/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html +++ b/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html @@ -7,7 +7,7 @@ > Date: Sat, 4 Jul 2026 23:46:04 +0200 Subject: [PATCH 2/2] `Bugfix`: Center toggle switch icon with transform instead of flex Flex centering left the icon with ~1px of vertical slack inside the short elliptical handle; the browser snapped that slack to whole device pixels inconsistently across zoom levels, so the icon drifted vertically. Absolute positioning with translate(-50%, -50%) centers in a single step with no margin rounding, keeping the icon centered at all zoom levels. Co-Authored-By: Claude Opus 4.8 --- .../components/atoms/toggle-switch/toggle-switch.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html b/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html index ee0d458ebf..215efc2031 100644 --- a/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html +++ b/src/main/webapp/app/shared/components/atoms/toggle-switch/toggle-switch.component.html @@ -7,7 +7,7 @@ >