Skip to content

Commit

Permalink
fix: remove margin gap from top bar for guests
Browse files Browse the repository at this point in the history
- same logic that is used for showing LeftSidebar

Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy authored and backportbot[bot] committed Oct 24, 2024
1 parent 993a8ee commit 0c98074
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/TopBar/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:class="{
'top-bar--sidebar': isSidebar,
'top-bar--in-call': isInCall,
'top-bar--authorised': getUserId,
}">
<ConversationIcon :key="conversation.token"
class="conversation-icon"
Expand Down Expand Up @@ -382,6 +383,12 @@ export default {
margin-left: 0;
}
}
&--authorised {
.conversation-icon {
margin-left: calc(var(--default-clickable-area) + var(--default-grid-baseline));
}
}
}
.top-bar__wrapper {
Expand All @@ -393,10 +400,6 @@ export default {
justify-content: flex-end;
}
.conversation-icon {
margin-left: 48px;
}
.conversation-header {
position: relative;
display: flex;
Expand Down

0 comments on commit 0c98074

Please sign in to comment.