feat(window): add default inner padding to Window body
Publish npm package / publish (push) Successful in 17s

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 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 14:44:17 +03:00
parent 70c55dffad
commit a7e2a1887d
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -21,6 +21,6 @@ export const Window = ({
</div>
)}
</div>
{children}
<div className="modern-sk-window-body">{children}</div>
</div>
);
+3
View File
@@ -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;