Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ function createMainWindow(): void {
contextIsolation: false,
},
show: false,
minWidth: 800,
minHeight: 600,
});

setInitialWindowState(mainWindow);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="window-controls">
<div class="window-controls theme-header-background">
<div class="window-button" (click)="minButtonClick()" [ngClass]="{ 'window-button__high-contrast': this.highContrast }">
<svg width="11" height="1" viewBox="0 0 11 1">
<path d="m11 0v1h-11v-1z" stroke-width=".26208" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@
flex-direction: row;
height: 100%;
}

@media (min-width: 600px) and (max-width: 1100px) {
.window-controls {
position: absolute;
top: 0;
right: 0;
}
}