ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
fix(cron): pad the create drawer's body
Juan Denisf7ff4df04358
diff --git a/docs/screenshots/cron-create.png b/docs/screenshots/cron-create.pngindex 138d2dc1..92555255 100644Binary files a/docs/screenshots/cron-create.png and b/docs/screenshots/cron-create.png differdiff --git a/frontend/src/components/ds/Drawer.jsx b/frontend/src/components/ds/Drawer.jsxindex 5e31c7b4..b5eeb5be 100644--- a/frontend/src/components/ds/Drawer.jsx+++ b/frontend/src/components/ds/Drawer.jsx@@ -10,6 +10,11 @@ import { cn } from '@/lib/utils';// subtitle="server filesystem" icon={<FileIcon/>} width={760}>// …body…// </Drawer>+//+// NOTE: `.sk-drawer__body` is the scroll region and carries NO padding — some+// drawers (log tails, tables, editors) run their content edge-to-edge. Ordinary+// form/detail bodies must pad themselves, or every field sits flush against the+// panel edge. Pad the body's own root class, not `.sk-drawer__body`.export function Drawer({open,onOpenChange,diff --git a/frontend/src/styles/pages/_cron.scss b/frontend/src/styles/pages/_cron.scssindex a3e83bb3..276eb2b2 100644--- a/frontend/src/styles/pages/_cron.scss+++ b/frontend/src/styles/pages/_cron.scss@@ -591,6 +591,10 @@display: flex;flex-direction: column;gap: $space-5;+ // `.sk-drawer__body` is the scroll region and carries no padding of its own+ // (some drawers are edge-to-edge), so every drawer body pads itself. Same+ // inset as .cron-drawer so the two cron drawers line up.+ padding: $space-5 $space-5 $space-8;&__field {display: flex;