Skip to content

Commit

Permalink
Merge pull request #107 from samuelthomas2774/linux-fixes
Browse files Browse the repository at this point in the history
Fix position of the settings menu button on Linux
  • Loading branch information
Jiiks authored Feb 9, 2018
2 parents aa7e6ab + 01655f0 commit 224b51f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions client/src/styles/partials/bdsettings/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
top: 27px;
}

.platform-linux & {
top: 0;
}

.bd-settings-button-btn {
background-image: $logoSmallBw;
background-size: 50% 50%;
Expand Down
2 changes: 1 addition & 1 deletion client/src/ui/components/BdSettingsWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<template>
<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>
<BdSettings :active="active" :close="hideSettings" />
Expand Down

0 comments on commit 224b51f

Please sign in to comment.