Skip to content

Commit 004d934

Browse files
committed
refactor: update layout
1 parent 9f2955b commit 004d934

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

src/components/AppHeaderDropdownAccnt.vue

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
<CAvatar :src="avatar" size="md" />
55
</CDropdownToggle>
66
<CDropdownMenu class="pt-0">
7-
<CDropdownHeader component="h6" class="bg-light fw-semibold py-2">
7+
<CDropdownHeader
8+
component="h6"
9+
class="bg-body-secondary text-body-secondary fw-semibold py-2 rounded-top"
10+
>
811
Account
912
</CDropdownHeader>
1013
<CDropdownItem>
@@ -23,11 +26,18 @@
2326
<CIcon icon="cil-comment-square" /> Comments
2427
<CBadge color="warning" class="ms-auto">{{ itemsCount }}</CBadge>
2528
</CDropdownItem>
26-
<CDropdownHeader component="h6" class="bg-light fw-semibold py-2">
29+
<CDropdownHeader
30+
component="h6"
31+
class="bg-body-secondary text-body-secondary fw-semibold py-2"
32+
>
2733
Settings
2834
</CDropdownHeader>
29-
<CDropdownItem> <CIcon icon="cil-user" /> Profile </CDropdownItem>
30-
<CDropdownItem> <CIcon icon="cil-settings" /> Settings </CDropdownItem>
35+
<CDropdownItem>
36+
<CIcon icon="cil-user" /> Profile
37+
</CDropdownItem>
38+
<CDropdownItem>
39+
<CIcon icon="cil-settings" /> Settings
40+
</CDropdownItem>
3141
<CDropdownItem>
3242
<CIcon icon="cil-dollar" /> Payments
3343
<CBadge color="secondary" class="ms-auto">{{ itemsCount }}</CBadge>
@@ -40,7 +50,9 @@
4050
<CDropdownItem>
4151
<CIcon icon="cil-shield-alt" /> Lock Account
4252
</CDropdownItem>
43-
<CDropdownItem> <CIcon icon="cil-lock-locked" /> Logout </CDropdownItem>
53+
<CDropdownItem>
54+
<CIcon icon="cil-lock-locked" /> Logout
55+
</CDropdownItem>
4456
</CDropdownMenu>
4557
</CDropdown>
4658
</template>

0 commit comments

Comments
 (0)