Kaynağa Gözat

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

tags/0.0.2
K Rob 3 yıl önce
ebeveyn
işleme
2bfef170a2
1 değiştirilmiş dosya ile 22 ekleme ve 6 silme
  1. 22
    6
      frontend/src/components/TagList.vue

+ 22
- 6
frontend/src/components/TagList.vue Dosyayı Görüntüle

@@ -1,7 +1,6 @@
1 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 4
         p {{ tag }}
6 5
 </template>
7 6
 
@@ -12,9 +11,12 @@ export default {
12 11
             required: true,
13 12
             type: Array,
14 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 22
         icon: {
@@ -24,3 +26,17 @@ export default {
24 26
     data: () => ({}),
25 27
 }
26 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>

Loading…
İptal
Kaydet