Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Dec 3, 2024
2 parents f8bfd7d + 5109b36 commit f1c6432
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/css/lang/zh-Hant/setting/main/box.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ body {

.setting-header,
.setting-content {
width: 27vw;
width: 21vw;
color: #fff;
}

Expand Down Expand Up @@ -502,7 +502,7 @@ body {
}

.setting-item-content {
width: 65vw;
width: 76vw;
margin-top: 3vw;
}

Expand Down
11 changes: 3 additions & 8 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,10 @@ ipcMain.on('all-reload', () => {
});
});

ipcMain.on('minimize', () => {
if (win) {
win.minimize();
}
});

ipcMain.on('hide', () => {
if (win) {
win.hide();
const currentWindow = BrowserWindow.getFocusedWindow();
if (currentWindow) {
currentWindow.hide();
}
});

Expand Down
1 change: 1 addition & 0 deletions src/view/yaml.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<div class="container">
<div class="windows-wrapper">
<div class="windows-buttons minimize"></div>
<!-- <div class="windows-buttons maximize">🗖</div> -->
<div class="windows-buttons close"></div>
</div>
<div class="mode-selector">
Expand Down

0 comments on commit f1c6432

Please sign in to comment.