mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-30 00:11:54 +00:00
fix(app): preserve Windows panel top outlines (#46090)
This commit is contained in:
parent
849824efd2
commit
3ee2e482ce
1 changed files with 2 additions and 2 deletions
|
|
@ -43,12 +43,12 @@ export default function Layout(props: ParentProps) {
|
|||
style={{
|
||||
"padding-top": "env(safe-area-inset-top, 0px)",
|
||||
"padding-bottom": "env(safe-area-inset-bottom, 0px)",
|
||||
// The native Windows titlebar already includes the gap above the content panels.
|
||||
// Native Windows chrome supplies the gap; retain paint clearance for the panels' outer outlines.
|
||||
"--shell-top-inset":
|
||||
platform.platform === "desktop" &&
|
||||
platform.os === "windows" &&
|
||||
!(mobile() && preferences.general.mobileTitlebarPosition() === "bottom")
|
||||
? "0px"
|
||||
? "1px"
|
||||
: "8px",
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue