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:
4
modules/boardwalk/dist/index.html
vendored
4
modules/boardwalk/dist/index.html
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user