fix(admin): size the switch toggle in pixels at the 14px root

The admin sets the html font size to 14px, so the rem utilities w-11 and
size-5 shrank the track to 38.5px and the knob to 17.5px against the
fixed 26px height and 18px travel. Use w-[44px] and size-[20px] so the
knob sits in a symmetric 3px inset at both ends. Rebuild the embedded
admin shell.
This commit is contained in:
Jakub Zych
2026-10-07 18:15:41 +02:00
parent a586357a34
commit b040ee3a74
5 changed files with 6 additions and 6 deletions

View File

@@ -7,8 +7,8 @@
<meta name="summer-admin-base" content="__SUMMER_ADMIN_BASE__" />
<link rel="icon" href="./favicon.ico" sizes="48x48" />
<title>SummerCMS</title>
<script type="module" crossorigin src="./assets/index-CE_etpB7.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-X2xCWuiY.css">
<script type="module" crossorigin src="./assets/index-kMerM-BR.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BhDUy2Lr.css">
</head>
<body>
<div id="app"></div>