Skip to content

Commit

Permalink
Update App.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMindCkm authored Apr 10, 2021
1 parent 4eb6817 commit b6886a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/renderer/App.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div id="app" @keydown="shortCut" tabindex="-1">
<div class="top-bar">
<div :class="'logo ' + (platform=='drawin'?'drawin':'')">
<div :class="'logo ' + (platform=='darwin'?'darwin':'')">
<span class="iconfont icon-sanheng" @click="toggleMenu"></span>
</div>

<tomato v-if="tomato" />
<div :class="'btn-group ' + (platform=='drawin'?'drawin':'')">
<div :class="'btn-group ' + (platform=='darwin'?'darwin':'')">
<div class="iconfont icon-min min" @click="min"></div>
<div class="iconfont icon-max-two max" @click="max"></div>
<div class="iconfont icon-searchclose close" @click="close"></div>
Expand Down Expand Up @@ -1406,7 +1406,7 @@ html.print {
.theme-dark .btn-group {
color: #fff;
}
.btn-group.drawin{
.btn-group.darwin{
display: none;
}
Expand All @@ -1423,8 +1423,8 @@ html.print {
font-size: 12px;
cursor: pointer;
}
.logo.drawin{
margin-left:70px;
.logo.darwin{
margin-left:80px;
}
.theme-dark .logo {
Expand Down

0 comments on commit b6886a1

Please sign in to comment.