Skip to content

Commit

Permalink
#212 add key to project dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag committed Jul 28, 2024
1 parent 421ec35 commit 815e4b8
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/widgets/ui/layout-sidebar/layout-sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,12 @@ const generateRadialGradient = (input: string) =>
{{ makeShortTitle(project.name) }}
</span>

{{ project.name }}
<div class="layout-sidebar__dropdown-item-text">
<span class="layout-sidebar__dropdown-item-text-key">
{{ project.key }}
</span>
{{ project.name }}
</div>
</button>
</div>

Expand Down Expand Up @@ -349,7 +354,16 @@ const generateRadialGradient = (input: string) =>
@apply text-2xs font-semibold uppercase;
@apply h-6 md:h-8 w-7 md:w-8 rounded-lg;
@apply flex items-center justify-center relative flex-shrink-0;
@apply text-white dark:text-black;
@apply text-white dark:text-black self-start;
}
.layout-sidebar__dropdown-item-text {
@apply flex flex-col;
}
.layout-sidebar__dropdown-item-text-key {
@apply text-2xs uppercase font-normal -mt-0.5;
@apply text-gray-600 dark:text-gray-400;
}
.layout-sidebar__dropdown {
Expand Down

0 comments on commit 815e4b8

Please sign in to comment.