diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/window-controller.ts | 5 | ||||
| -rw-r--r-- | gui/src/renderer/components/TunnelControl.tsx | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts index c03a4e9ab3..5cd0857bc4 100644 --- a/gui/src/main/window-controller.ts +++ b/gui/src/main/window-controller.ts @@ -318,10 +318,7 @@ export default class WindowController { case 'win32': // On Windows the app height ends up slightly lower than we set it to if running in unpinned // mode and the app becomes a tiny bit taller when pinned to task bar. - return unpinnedWindow ? contentHeight + 19 : contentHeight - 1; - case 'linux': - // On Linux the app ends up slightly lower than we set it to. - return contentHeight - 25; + return unpinnedWindow ? contentHeight + 25 : contentHeight; default: return contentHeight; } diff --git a/gui/src/renderer/components/TunnelControl.tsx b/gui/src/renderer/components/TunnelControl.tsx index a2944b0fee..0d11762d38 100644 --- a/gui/src/renderer/components/TunnelControl.tsx +++ b/gui/src/renderer/components/TunnelControl.tsx @@ -34,7 +34,7 @@ const Body = styled.div({ display: 'flex', flexDirection: 'column', padding: `0 ${measurements.viewMargin}`, - minHeight: '170px', + minHeight: '185px', }); const Wrapper = styled.div({ |
