Skip to content

Commit

Permalink
[fix-status-bar] chore: better min ration + no status bar overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LatentDream committed Apr 16, 2024
1 parent 6108735 commit 07f0fc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function createWindow() {
preload,
sandbox: false,
},
minHeight: 720,
minHeight: 860,
minWidth: 1280,
show: false,
});
Expand Down
5 changes: 2 additions & 3 deletions src/renderer/routes/common/StatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,9 @@ const StatusBar = (): JSX.Element => {
</>
) : (
<>
<code className="text-xs">
{messages[messages.length - 1]?.slice(0, 145)}...
<code className="text-xs w-5/6">
{messages[messages.length - 1]?.slice(0, 112)}...
</code>
<div className="grow" />
</>
)}
<div className="grow" />
Expand Down

0 comments on commit 07f0fc5

Please sign in to comment.