diff options
author | 2021-10-01 15:30:14 +0200 | |
---|---|---|
committer | 2021-10-01 15:30:14 +0200 | |
commit | a14ae5df2d3f62fdacbc3c44aca809af811ac8cf (patch) | |
tree | 840c761f5539734a22660352bc6a06f9b03fb22c | |
parent | refactor: fix issue with env var 'ELECTRON_IS_DEV' being ignored to determine... (diff) | |
download | ferdium-app-a14ae5df2d3f62fdacbc3c44aca809af811ac8cf.tar.gz ferdium-app-a14ae5df2d3f62fdacbc3c44aca809af811ac8cf.tar.zst ferdium-app-a14ae5df2d3f62fdacbc3c44aca809af811ac8cf.zip |
fix: horizontal bar is a lot wider than what it should be (#2006)
-rw-r--r-- | src/features/appearance/index.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index 1ae69f77e..cb2f937eb 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts | |||
@@ -185,7 +185,6 @@ function generateVerticalStyle(widthStr, alwaysShowWorkspaces) { | |||
185 | 185 | ||
186 | return ` | 186 | return ` |
187 | .sidebar { | 187 | .sidebar { |
188 | height: ${sidebarWidth + verticalStyleOffset + 1}px !important; | ||
189 | ${ | 188 | ${ |
190 | alwaysShowWorkspaces | 189 | alwaysShowWorkspaces |
191 | ? ` | 190 | ? ` |
@@ -199,10 +198,6 @@ function generateVerticalStyle(widthStr, alwaysShowWorkspaces) { | |||
199 | width: ${width}px; | 198 | width: ${width}px; |
200 | } | 199 | } |
201 | 200 | ||
202 | .app .app__content { | ||
203 | padding-top: ${sidebarWidth + verticalStyleOffset + 1}px !important; | ||
204 | } | ||
205 | |||
206 | .workspaces-drawer { | 201 | .workspaces-drawer { |
207 | margin-top: -${sidebarWidth - verticalStyleOffset - 1}px !important; | 202 | margin-top: -${sidebarWidth - verticalStyleOffset - 1}px !important; |
208 | } | 203 | } |