Przeglądaj źródła

:sparkles: tagList.vue styles in place also update dummy text to match mockup

tags/0.0.2
K Rob 3 lat temu
rodzic
commit
2bfef170a2
1 zmienionych plików z 22 dodań i 6 usunięć
  1. 22
    6
      frontend/src/components/TagList.vue

+ 22
- 6
frontend/src/components/TagList.vue Wyświetl plik

1
 <template lang="pug">
1
 <template lang="pug">
2
-section.w-flex.row.pb5
3
-    w-tag(v-for="tag in tags" color="pink-light1" bg-color="pink-light5").w-flex.grow.mr12.pa12
4
-        w-icon(v-if="icon" class="mr1" sm) {{ icon.family }} {{ icon.family }}-{{ icon.shape }}
2
+section.w-flex.row.wrap.pb5.justify-space-between
3
+    w-tag(v-for="tag in tags")
5
         p {{ tag }}
4
         p {{ tag }}
6
 </template>
5
 </template>
7
 
6
 
12
             required: true,
11
             required: true,
13
             type: Array,
12
             type: Array,
14
             default: () => [
13
             default: () => [
15
-                'tag one',
16
-                'tag another thing',
17
-                'tag something long',
14
+                'California RN License',
15
+                'BSN',
16
+                'Patient Happiness',
17
+                'ACLS',
18
+                'Strong Communication',
19
+                'High Volume',
18
             ],
20
             ],
19
         },
21
         },
20
         icon: {
22
         icon: {
24
     data: () => ({}),
26
     data: () => ({}),
25
 }
27
 }
26
 </script>
28
 </script>
29
+
30
+<style lang="sass">
31
+    section
32
+        min-height: 100%
33
+        .w-tag
34
+            background-color: #F7F5A6
35
+            margin: 3px 0
36
+            p
37
+                color: #183770
38
+                padding: 5px
39
+                font-size: 12px
40
+                font-weight: bolder
41
+                text-align: center
42
+</style>

Ładowanie…
Anuluj
Zapisz