diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-05-17 18:55:43 -0500 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-05-17 20:52:55 -0500 |
commit | d9788e0d3de086ae815fb55f9e0dafeac89ac5d8 (patch) | |
tree | 06083d0f4c302f1364d31067218ad2f1e955d22c /src/features/appearance | |
parent | docs: add Alphrag as a contributor for doc (#174) [skip ci] (diff) | |
download | ferdium-app-d9788e0d3de086ae815fb55f9e0dafeac89ac5d8.tar.gz ferdium-app-d9788e0d3de086ae815fb55f9e0dafeac89ac5d8.tar.zst ferdium-app-d9788e0d3de086ae815fb55f9e0dafeac89ac5d8.zip |
Increase the vertical height of the draggable area to center the 3 OS titlebar-buttons
Diffstat (limited to 'src/features/appearance')
-rw-r--r-- | src/features/appearance/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index aa569af73..5b005586e 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts | |||
@@ -286,8 +286,8 @@ function generateShowDragAreaStyle(accentColor) { | |||
286 | background-color: ${accentColor}; | 286 | background-color: ${accentColor}; |
287 | } | 287 | } |
288 | #root { | 288 | #root { |
289 | /** Remove 22px from app height, otherwise the page will be too high */ | 289 | /** Remove 28px from app height, otherwise the page will be too high */ |
290 | height: calc(100% - 22px); | 290 | height: calc(100% - 28px); |
291 | } | 291 | } |
292 | `; | 292 | `; |
293 | } | 293 | } |
@@ -304,7 +304,7 @@ function generateVerticalStyle(widthStr, alwaysShowWorkspaces) { | |||
304 | } | 304 | } |
305 | const width = Number(widthStr); | 305 | const width = Number(widthStr); |
306 | const sidebarWidth = width - 4; | 306 | const sidebarWidth = width - 4; |
307 | const verticalStyleOffset = 23; | 307 | const verticalStyleOffset = 29; |
308 | 308 | ||
309 | return ` | 309 | return ` |
310 | .sidebar { | 310 | .sidebar { |