Add macOS tweaks
This commit is contained in:
parent
708b4e5e63
commit
4076da01c9
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="bd-settings-wrapper">
|
||||
<div :class="['bd-settings-wrapper', 'platform-' + this.platform]">
|
||||
<div class="bd-settings-button" :class="{active: this.isActive}" @click="showSettings">
|
||||
<div class="bd-settings-button-btn"></div>
|
||||
</div>
|
||||
|
@ -14,7 +14,8 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
isActive: false
|
||||
isActive: false,
|
||||
platform: global.process.platform
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -29,4 +30,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
@ -70,6 +70,18 @@
|
|||
&.active {
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
.platform-darwin & {
|
||||
top: 0px;
|
||||
|
||||
.bd-sidebar-view .bd-sidebar-region,
|
||||
.bd-sidebar-view .bd-content-region {
|
||||
padding-top: 22px;
|
||||
}
|
||||
.bd-settings-x {
|
||||
top: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bd-settings.active {
|
||||
|
|
Loading…
Reference in New Issue