Skip to content

Commit

Permalink
Merge pull request #11614 from nextcloud/chore/noid/filter-buttons-pr…
Browse files Browse the repository at this point in the history
…ess-state

chore(LefSidebard): Align press state
  • Loading branch information
DorraJaouad authored Feb 21, 2024
2 parents 22848f4 + 3b7bcf0 commit fd6e11f
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
<FilterIcon :size="15" />
</template>
<NcActionButton close-after-click
class="filter-actions__button"
:class="{'filter-actions__button--active': isFiltered === 'mentions'}"
:model-value="isFiltered === 'mentions'"
@click="handleFilter('mentions')">
<template #icon>
<AtIcon :size="20" />
Expand All @@ -53,8 +52,7 @@
</NcActionButton>

<NcActionButton close-after-click
class="filter-actions__button"
:class="{'filter-actions__button--active': isFiltered === 'unread'}"
:model-value="isFiltered === 'unread'"
@click="handleFilter('unread')">
<template #icon>
<MessageBadge :size="20" />
Expand Down Expand Up @@ -1059,16 +1057,6 @@ export default {
}
}

.filter-actions__button--active {
background-color: var(--color-primary-element-light);
border-radius: 6px;

:deep(.action-button__longtext) {
font-weight: bold;
}

}

:deep(.empty-content) {
text-align: center;
padding: 20% 10px 0;
Expand Down

0 comments on commit fd6e11f

Please sign in to comment.