Skip to content

Commit

Permalink
fix(NcAppSidebarTabs): fix using css icon
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed May 13, 2023
1 parent fd31ac4 commit ac495b7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/NcAppSidebar/NcAppSidebarTabs.vue
Expand Up @@ -57,7 +57,7 @@
</span>
<template #icon>
<NcVNodes :vnodes="tab.renderIcon()">
<span :class="tab.icon" />
<span class="app-sidebar-tabs__tab-icon" :class="tab.icon" />
</NcVNodes>
</template>
</NcCheckboxRadioSwitch>
Expand Down Expand Up @@ -285,6 +285,13 @@ export default {
text-overflow: ellipsis;
text-align: center;
}
&-icon {
display: flex;
align-items: center;
justify-content: center;
background-size: 20px;
}
}
&__content {
Expand Down

0 comments on commit ac495b7

Please sign in to comment.