Merge pull request #107 from samuelthomas2774/linux-fixes

Fix position of the settings menu button on Linux
This commit is contained in:
Alexei Stukov 2018-02-09 18:31:52 +02:00 committed by GitHub
commit 224b51f1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,10 @@
top: 27px; top: 27px;
} }
.platform-linux & {
top: 0;
}
.bd-settings-button-btn { .bd-settings-button-btn {
background-image: $logoSmallBw; background-image: $logoSmallBw;
background-size: 50% 50%; background-size: 50% 50%;

View File

@ -10,7 +10,7 @@
<template> <template>
<div class="bd-settings-wrapper" :class="[{active: active}, 'platform-' + this.platform]"> <div class="bd-settings-wrapper" :class="[{active: active}, 'platform-' + this.platform]">
<div class="bd-settings-button" :class="{'bd-hide': active}" @click="showSettings"> <div class="bd-settings-button" @click="showSettings">
<div class="bd-settings-button-btn" :class="[{'bd-loading': !loaded}]"></div> <div class="bd-settings-button-btn" :class="[{'bd-loading': !loaded}]"></div>
</div> </div>
<BdSettings :active="active" :close="hideSettings" /> <BdSettings :active="active" :close="hideSettings" />