Skip to content

Commit

Permalink
Fixed data-tauri-drag-region for titlebar #62
Browse files Browse the repository at this point in the history
  • Loading branch information
p0ryae committed Aug 4, 2022
1 parent 974a989 commit b4f0635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<img class="titlebar-account" src="./assets/account.svg" id="account-btn">
<img class="titlebar-update" src="./assets/download.svg" id="update-btn">
</div>
<div data-tauri-drag-region style="margin-top: 0px;" class="titlebar-icons">
<div style="margin-top: 0px;" class="titlebar-icons">
<div @click="min_window" class="titlebar-min mx-1"></div>
<div @click="max_window" class="titlebar-max mx-1"></div>
<div @click="close_window" class="titlebar-exit mx-1"></div>
Expand Down
1 change: 1 addition & 0 deletions src/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ body {
}

.titlebar {
position: relative;
overflow: hidden;
border-radius: 10px;
background-color: #1e1f24;
Expand Down

0 comments on commit b4f0635

Please sign in to comment.