Skip to content

Commit

Permalink
fix: styling discrepancies on macOS 11.x below (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed Apr 30, 2024
1 parent f00a959 commit d472836
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions frontend/src/components/sidebar/Ribbon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ const exThemeVars = computed(() => {
:options="preferencesOptions"
:render-icon="({ icon }) => render.renderIcon(icon)"
:render-label="({ label }) => render.renderLabel($t(label), { class: 'context-menu-item' })"
content-class="nav-menu-button"
trigger="click"
@select="onSelectPreferenceMenu">
<icon-button :icon="Config" :size="iconSize" :stroke-width="3" />
Expand All @@ -182,7 +181,6 @@ const exThemeVars = computed(() => {
:icon="QRCode"
:size="iconSize"
:tooltip-delay="100"
class="nav-menu-button"
t-tooltip="ribbon.wechat_official"
@click="openWechatOfficial" />
<icon-button
Expand All @@ -191,14 +189,12 @@ const exThemeVars = computed(() => {
:icon="Twitter"
:size="iconSize"
:tooltip-delay="100"
class="nav-menu-button"
t-tooltip="ribbon.follow_x"
@click="openX" />
<icon-button
:icon="Github"
:size="iconSize"
:tooltip-delay="100"
class="nav-menu-button"
t-tooltip="ribbon.github"
@click="openGithub" />
</div>
Expand Down Expand Up @@ -280,15 +276,10 @@ const exThemeVars = computed(() => {
.nav-menu-item {
align-items: center;
padding: 10px 0 15px;
gap: 20px;
--wails-draggable: none;
.nav-menu-button {
margin-bottom: 6px;
:hover {
color: v-bind('themeVars.primaryColor');
}
button {
margin: 10px 0;
}
}
}
Expand Down

0 comments on commit d472836

Please sign in to comment.