Skip to content

Commit

Permalink
Min size window (#1148)
Browse files Browse the repository at this point in the history
* chore: set a min size for window

* [fix-status-bar] chore: better min ration + no status bar overflow

* chore: formatting

---------

Co-authored-by: Gui <[email protected]>
Co-authored-by: Guillaume Thibault <[email protected]>
Co-authored-by: Guillaume <[email protected]>
  • Loading branch information
4 people authored Apr 16, 2024
1 parent a80a7b9 commit 8834b37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/main/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export async function createWindow() {
preload,
sandbox: false,
},
minHeight: 860,
minWidth: 1280,
show: false,
});
global.mainWindow = mainWindow;
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="w-5/6 text-xs">
{messages[messages.length - 1]?.slice(0, 112)}...
</code>
<div className="grow" />
</>
)}
<div className="grow" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ const TestSequencerView = () => {
</div>
</div>
</div>

<div className="py-2"></div>
</div>
</LockedContextProvider>
);
Expand Down

0 comments on commit 8834b37

Please sign in to comment.