Skip to content

Commit 39387ba

Browse files
committed
style: format and clean up code in DropdownConnectStatus.vue for consistency
1 parent 700e9c9 commit 39387ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web/components/UserProfile/DropdownConnectStatus.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,16 @@ const status = computed((): StatusOutput | undefined => {
5656
}
5757
return undefined;
5858
});
59+
60+
const statusItemClasses = "text-14px flex flex-row justify-start items-center gap-8px mt-8px px-8px";
5961
</script>
6062

6163
<template>
62-
<li v-if="username" class="flex flex-row justify-start items-center gap-8px mt-8px px-8px">
64+
<li v-if="username" :class="statusItemClasses">
6365
<UserCircleIcon class="w-16px h-16px" aria-hidden="true" />
6466
{{ username }}
6567
</li>
66-
<li v-if="status" class="flex flex-row justify-start items-center gap-8px mt-8px px-8px">
68+
<li v-if="status" :class="statusItemClasses">
6769
<component :is="status.icon" :class="status.iconClasses" aria-hidden="true" />
6870
{{ status.text }}
6971
</li>

0 commit comments

Comments
 (0)