Skip to content

Commit

Permalink
💄 fix ui issues
Browse files Browse the repository at this point in the history
  • Loading branch information
doroudi committed Nov 22, 2024
1 parent 0344e94 commit d490a68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/LanguageSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function changeLanguage(lang: string) {

<template>
<n-popselect v-model:value="language" :options="languages" @update-value="changeLanguage">
<n-button text secondary @click="layoutStore.toggleTheme()">
<n-button text @click="layoutStore.toggleTheme()">
<template #icon>
<NIcon size="1.4rem">
<TranslateIcon />
Expand Down
8 changes: 4 additions & 4 deletions src/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import {
PersonSettings20Regular as AccountSettingsIcon,
CheckmarkStarburst16Regular as BrandsIcon,
Folder32Regular as CategoryIcon,
RadioButton20Filled as CollapseIcon,
Pin20Regular as CollapsedIcon,
Color24Regular as ColorsIcon,
CommentMultiple32Regular as CommentsIcon,
People28Regular as CustomersIcon,
Home32Regular as DashboardIcon,
Emoji24Regular as FeedbackIcon,
Cart24Regular as InvoicesIcon,
RadioButton20Regular as OpenIcon,
DocumentLink20Regular as PagesIcon,
Pin20Filled as PinnedIcon,
Apps28Filled as ProductsIcon,
BoxMultiple20Regular as ProductsIcon2,
StarThreeQuarter20Filled as ReviewIcon,
Expand Down Expand Up @@ -201,8 +201,8 @@ function renderIcon(icon: any, showBadge = false) {
<n-button mx-2 text size="small" circle @click="layoutStore.toggleSidebar">
<template #icon>
<NIcon size="1.2rem" color="#888">
<OpenIcon v-if="collapsed" />
<CollapseIcon v-else />
<CollapsedIcon v-if="collapsed" />
<PinnedIcon v-else />
</NIcon>
</template>
</n-button>
Expand Down

0 comments on commit d490a68

Please sign in to comment.