Skip to content

Commit 3fd9572

Browse files
committed
🐛 Fix: settingPage && miniPage style in windows
1 parent c6ead5b commit 3fd9572

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/renderer/layouts/SettingPage.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,12 @@ $darwinBg = transparentify(#172426, #000, 0.7)
334334
position absolute
335335
top 2px
336336
right 4px
337-
width 60px
338337
z-index 10000
339338
-webkit-app-region no-drag
340339
i
341340
cursor pointer
342341
font-size 16px
342+
margin-left 5px
343343
.el-icon-minus
344344
&:hover
345345
color #409EFF

src/renderer/pages/MiniPage.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ import {
2323
IpcRendererEvent,
2424
remote
2525
} from 'electron'
26+
import path from 'path'
2627
@Component({
2728
name: 'mini-page',
2829
mixins: [mixin]
2930
})
3031
export default class extends Vue {
31-
logo = 'static/squareLogo.png'
32+
logo = path.join(process.env.BASE_URL as string, 'squareLogo.png')
3233
dragover = false
3334
progress = 0
3435
showProgress = false

yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -2872,8 +2872,8 @@ commander@~2.8.1:
28722872

28732873
comment-json@^2.3.1:
28742874
version "2.3.1"
2875-
resolved "https://registry.npm.taobao.org/comment-json/download/comment-json-2.3.1.tgz#40f24f573ffece9b9a87806244c330d614a32604"
2876-
integrity sha1-QPJPVz/+zpuah4BiRMMw1hSjJgQ=
2875+
resolved "https://registry.yarnpkg.com/comment-json/-/comment-json-2.3.1.tgz#40f24f573ffece9b9a87806244c330d614a32604"
2876+
integrity sha512-JC3n3NngL0g8mhblclcLdGHaTaowrfWb4YMzJQ2HINtWTtQCmuheNzJ2POXUL0AHbmI9Omli9VPNMBsrdQSZeA==
28772877
dependencies:
28782878
core-util-is "^1.0.2"
28792879
esprima "^4.0.1"
@@ -5628,8 +5628,8 @@ has-flag@^4.0.0:
56285628

56295629
has-own-prop@^2.0.0:
56305630
version "2.0.0"
5631-
resolved "https://registry.npm.taobao.org/has-own-prop/download/has-own-prop-2.0.0.tgz#f0f95d58f65804f5d218db32563bb85b8e0417af"
5632-
integrity sha1-8PldWPZYBPXSGNsyVju4W44EF68=
5631+
resolved "https://registry.yarnpkg.com/has-own-prop/-/has-own-prop-2.0.0.tgz#f0f95d58f65804f5d218db32563bb85b8e0417af"
5632+
integrity sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==
56335633

56345634
has-symbol-support-x@^1.4.1:
56355635
version "1.4.2"
@@ -8278,8 +8278,8 @@ performance-now@^2.1.0:
82788278

82798279
picgo@^1.4.3:
82808280
version "1.4.3"
8281-
resolved "https://registry.npm.taobao.org/picgo/download/picgo-1.4.3.tgz#6c3140d21415d96489a784c155d8d45b6a91adb5"
8282-
integrity sha1-bDFA0hQV2WSJp4TBVdjUW2qRrbU=
8281+
resolved "https://registry.yarnpkg.com/picgo/-/picgo-1.4.3.tgz#6c3140d21415d96489a784c155d8d45b6a91adb5"
8282+
integrity sha512-MqzMu5tNBXI//K0XQ/hyk533Lk2hcjPsvhW3W/i4+TyrZ/ajxNX9of27uwYUk3JWiNQ/LYqzZAAsMV7CwBx2ow==
82838283
dependencies:
82848284
chalk "^2.4.1"
82858285
commander "^2.17.0"

0 commit comments

Comments
 (0)