diff options
Diffstat (limited to 'src/features/appearance/index.ts')
-rw-r--r-- | src/features/appearance/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index 4323fa7cc..122fa2411 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts | |||
@@ -253,6 +253,7 @@ function generateVerticalStyle(widthStr, alwaysShowWorkspaces) { | |||
253 | document.head.append(link); | 253 | document.head.append(link); |
254 | } | 254 | } |
255 | const width = Number(widthStr); | 255 | const width = Number(widthStr); |
256 | const sidebarWidth = width - 4; | ||
256 | const verticalStyleOffset = 23; | 257 | const verticalStyleOffset = 23; |
257 | 258 | ||
258 | return ` | 259 | return ` |
@@ -271,7 +272,7 @@ function generateVerticalStyle(widthStr, alwaysShowWorkspaces) { | |||
271 | } | 272 | } |
272 | 273 | ||
273 | .workspaces-drawer { | 274 | .workspaces-drawer { |
274 | margin-top: -${0 - verticalStyleOffset - 1}px !important; | 275 | margin-top: -${sidebarWidth - verticalStyleOffset - 1}px !important; |
275 | } | 276 | } |
276 | 277 | ||
277 | .todos__todos-panel--expanded { | 278 | .todos__todos-panel--expanded { |