From a7e2a1887db88df0d36a46f4d1b4fafd3c3a8a69 Mon Sep 17 00:00:00 2001 From: Artem Reznichenko Date: Wed, 10 Jun 2026 14:44:17 +0300 Subject: [PATCH] feat(window): add default inner padding to Window body Window children rendered flush against the frame, so content (settings rows, placeholder text) touched the left edge. Wrap children in .modern-sk-window-body with 16px padding for consistent breathing room. Co-Authored-By: Claude Opus 4.8 --- src/components/window/index.tsx | 2 +- src/styles/components.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/window/index.tsx b/src/components/window/index.tsx index 0478774..2e060fd 100644 --- a/src/components/window/index.tsx +++ b/src/components/window/index.tsx @@ -21,6 +21,6 @@ export const Window = ({ )} - {children} +
{children}
); diff --git a/src/styles/components.css b/src/styles/components.css index 13c749f..dc6b30f 100644 --- a/src/styles/components.css +++ b/src/styles/components.css @@ -1227,6 +1227,9 @@ textarea.modern-sk-field { background: var(--steel-800); box-shadow: var(--shadow-window); } +.modern-sk-window-body { + padding: 16px; +} .modern-sk-titlebar { height: 42px; display: flex;