Skip to content

Commit

Permalink
refs #4 fix top-right menu entry style
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Sep 29, 2023
1 parent 5d8e584 commit 4778773
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/components/AssistantHeaderMenuEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:title="t('assistant', 'Nextcloud Assistant')">
<a
href="#"
class="trigger"
@click="$emit('click')">
<AssistantIcon class="menu-icon" :size="20" />
</a>
Expand Down Expand Up @@ -46,9 +47,20 @@ export default {
display: flex;
align-items: center;
justify-content: center;
opacity: .85;
&:hover {
opacity: 1;
}
.menu-icon {
color: var(--color-primary-text) !important;
.trigger {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
.menu-icon {
color: var(--color-primary-text) !important;
}
}
}
</style>

0 comments on commit 4778773

Please sign in to comment.