Skip to content

Commit

Permalink
fix: add padding to logo when the right panel is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrkollar committed Aug 8, 2024
1 parent 8163b72 commit 2800e3a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/ZCLToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
class="bg-glass q-electron-drag"
:class="{ 'window-button-padding-right': isElectron && isWin }"
>
<q-toolbar-title style="width: 180px">
<q-toolbar-title
:class="{ 'logo-margin': showPreviewTab || showNotificationTab }"
style="width: 180px"
>
<Transition mode="out-in" name="slide-up">
<div
v-if="$route.fullPath === '/'"
Expand Down Expand Up @@ -435,4 +438,7 @@ export default {
.image-space:not(:last-of-type) {
margin-right: 15px;
}
.logo-margin {
margin-left: 75px;
}
</style>

0 comments on commit 2800e3a

Please sign in to comment.