Преглед изворни кода

:lipstick: added images to start dev on name-plate for profile card

tabs-content
K Rob пре 3 година
родитељ
комит
9699896dd5

BIN
frontend/assets/images/woman-1-lg.jpg Прегледај датотеку


BIN
frontend/assets/images/woman-1-sm.jpg Прегледај датотеку


+ 1
- 1
frontend/assets/sass/main.scss Прегледај датотеку

@@ -2,7 +2,7 @@
2 2
 @import 'icons';
3 3
 
4 4
 
5
-
5
+// Global Styles
6 6
 html {
7 7
     background-color: $black;
8 8
     font-size: $base-font-size;

+ 1
- 2
frontend/src/components/NamePlate.vue Прегледај датотеку

@@ -8,6 +8,7 @@
8 8
                 span.text-capitalize(v-if='isList')
9 9
                     span.text-capitalize | {{ locale }}
10 10
             p.text-capitalize(v-if='!isList') {{ pronouns }}
11
+            img(src='../../assets/images/woman-1.jpg', alt='Profile image')
11 12
 </template>
12 13
 
13 14
 <script>
@@ -48,11 +49,9 @@ export default {
48 49
         flex-direction: column
49 50
         align-items: center
50 51
         justify-content: center
51
-        padding: 15px
52 52
         min-height: 10vh
53 53
         width: 100%
54 54
         &.box
55
-            background-color: #D5D5D5
56 55
             border-radius: 6px
57 56
             height: 15vw
58 57
             width: 15vw

+ 1
- 1
frontend/src/components/ProfileCard.vue Прегледај датотеку

@@ -148,7 +148,7 @@ const onPass = async () => {
148 148
     footer
149 149
         margin-bottom: 22px
150 150
         p
151
-            font-family: Source Pro, CenturyGothic, AppleGothic, sans-serif
151
+            font-family: Source Pro, AppleGothic, sans-serif
152 152
             margin: 11px auto
153 153
             padding: 0 7px
154 154
             line-height: 1.619em

+ 1
- 17
frontend/src/components/ProfileCardList.vue Прегледај датотеку

@@ -63,23 +63,7 @@ const loadMoreResults = () => {
63 63
         flex-wrap: wrap
64 64
         flex-direction: column
65 65
 
66
+
66 67
 .more-results
67 68
     margin-bottom: 2em
68
-
69
-@media (min-width: $tablet) 
70
-    section.profile-card-list.xs12.w-flex > article
71
-        display: flex
72
-        flex-wrap: wrap
73
-        flex-direction: row
74
-    
75
-
76
-
77
-@media (max-width: $tablet) 
78
-    section.profile-card-list.xs12.w-flex > article
79
-        display: flex
80
-        flex-wrap: wrap
81
-        flex-direction: column
82
-    
83
-
84
-
85 69
 </style>

Loading…
Откажи
Сачувај