Skip to content

Commit 815e4b8

Browse files
committed
#212 add key to project dropdown
1 parent 421ec35 commit 815e4b8

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/widgets/ui/layout-sidebar/layout-sidebar.vue

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,12 @@ const generateRadialGradient = (input: string) =>
225225
{{ makeShortTitle(project.name) }}
226226
</span>
227227

228-
{{ project.name }}
228+
<div class="layout-sidebar__dropdown-item-text">
229+
<span class="layout-sidebar__dropdown-item-text-key">
230+
{{ project.key }}
231+
</span>
232+
{{ project.name }}
233+
</div>
229234
</button>
230235
</div>
231236

@@ -349,7 +354,16 @@ const generateRadialGradient = (input: string) =>
349354
@apply text-2xs font-semibold uppercase;
350355
@apply h-6 md:h-8 w-7 md:w-8 rounded-lg;
351356
@apply flex items-center justify-center relative flex-shrink-0;
352-
@apply text-white dark:text-black;
357+
@apply text-white dark:text-black self-start;
358+
}
359+
360+
.layout-sidebar__dropdown-item-text {
361+
@apply flex flex-col;
362+
}
363+
364+
.layout-sidebar__dropdown-item-text-key {
365+
@apply text-2xs uppercase font-normal -mt-0.5;
366+
@apply text-gray-600 dark:text-gray-400;
353367
}
354368
355369
.layout-sidebar__dropdown {

0 commit comments

Comments
 (0)