Skip to content

Commit

Permalink
fixup! Fix unread counter position for outbox
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Jan 5, 2023
1 parent 629b07a commit b5a1c36
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/NavigationOutbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
:size="20" />
</template>
<template #counter>
<CounterBubble v-if="count">
<CounterBubble
v-if="count"
class="navigation-outbox__unread-counter">
{{ count }}
</CounterBubble>
</template>
Expand Down Expand Up @@ -64,9 +66,12 @@ export default {
</script>

<style lang="scss" scoped>
.counter-bubble-outbox {
margin-right: 20px;
.navigation-outbox {
&__unread-counter {
margin-right: calc(var(--default-grid-baseline)*2);
}
}
.outbox-opacity-icon {
opacity: .7;
&:hover {
Expand Down

0 comments on commit b5a1c36

Please sign in to comment.