commit | author | age | ||
4f1007 | 1 | <template> |
CM | 2 | <section> |
3 | <base-card> | |
4 | <template #default> | |
5 | <ul> | |
6 | <li> | |
7 | <base-badge type="admin" caption="ADMIN"></base-badge> | |
8 | </li> | |
9 | <li> | |
10 | <base-badge type="author" caption="AUTHOR"></base-badge> | |
11 | </li> | |
12 | </ul> | |
13 | </template> | |
14 | </base-card> | |
15 | </section> | |
16 | </template> | |
17 | ||
18 | <style scoped> | |
19 | section h2 { | |
20 | margin: 0.5rem 0; | |
21 | color: #3a3a3a; | |
22 | } | |
23 | ul { | |
24 | list-style: none; | |
25 | margin: 0; | |
26 | padding: 0; | |
27 | display: flex; | |
28 | flex-direction: row; | |
29 | } | |
30 | ||
31 | li { | |
32 | margin-right: 1rem; | |
33 | } | |
34 | </style> |