File tree Expand file tree Collapse file tree 2 files changed +24
-16
lines changed
Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -100,19 +100,19 @@ main {
100100 transform : scale (1.04 );
101101 }
102102
103- .xx {
103+ .xx {
104104 height : 100% ;
105105 @include flex (row , flex-start , center );
106106
107- .pontos {
107+ .pontos {
108108 display : none ;
109109 }
110110
111111 @include m-screen (600px ) {
112112 width : 100% ;
113113 @include flex (row , flex-start , center );
114114
115- .pontos {
115+ .pontos {
116116 display : block ;
117117 @include font-inter (bold );
118118 }
@@ -151,20 +151,23 @@ main {
151151
152152 img :nth-child (3 ) {
153153 width : 50px ;
154+ height : 50px ;
155+ object-fit : cover ;
154156 border-radius : 50% ;
155157 padding : 2px ;
156158 background-color : $secondary-color-dark ;
157159
158160 @include m-screen (770px ) {
159161 width : 40px ;
162+ height : 40px ;
160163 }
161164 }
162165
163166 .normal {
164167 filter : saturate (0 );
165168 }
166169
167- .zz {
170+ .zz {
168171 height : 100% ;
169172 @include flex (row , flex-start , center );
170173
@@ -177,7 +180,7 @@ main {
177180 width : 100% ;
178181 @include flex (row , flex-start , center );
179182 margin-left : 0px ;
180- .pontos {
183+ .pontos {
181184 display : none ;
182185 }
183186 }
@@ -186,7 +189,7 @@ main {
186189 font-size : 1.2rem ;
187190 @include font-inter (400 );
188191 margin-right : 30px ;
189-
192+
190193 @include m-screen (1000px ) {
191194 margin-right : 20px ;
192195 font-size : 1rem ;
@@ -196,23 +199,22 @@ main {
196199 margin-right : 0px ;
197200 }
198201 }
199-
202+
200203 .pontos {
201204 @include font-inter (bold );
202205 position : absolute ;
203206 right : 20px ;
204-
207+
205208 @include m-screen (770px ) {
206209 right : 10px ;
207210 }
208-
211+
209212 @include m-screen (680px ) {
210213 position : relative ;
211214 right : 0px ;
212215 }
213216 }
214217 }
215-
216218 }
217219
218220 .aluno :nth-child (2 ) {
Original file line number Diff line number Diff line change 1212 <p class =" info" >Clique para entrar em contato:</p >
1313
1414 <router-link v-for =" (item, index) in ranking" :key =" index" :to =" `/empresa/aluno/profile/${item.aluno.rm}`" class =" aluno" >
15- <b >#{{ index + 1 }}</b >
16- <img :src =" (index + 1 < 4) ? '../assets/icons/m' + (index + 1) + '.png' : '../../assets/icons/m3.png'" :class =" (index + 1 < 4) ? 'medalha' : 'medalha normal' " alt =" " >
17- <img v-if =" item.aluno.imagem != 'default'" :src =" item.aluno.imagem" alt =" Foto do aluno" >
18- <img v-else src =" ../../assets/icons/artwork.png" alt =" Foto padrão" >
19- <p class =" name" >{{ item.aluno.nome }} - 3º DS</p >
20- <p class =" pontos" >{{ (item.rankingNota * 1000).toFixed(2) }} / {{ item.numeroNotas }}</p >
15+ <div class =" xx" >
16+ <b >#{{ index + 1 }}</b >
17+ <img :src =" index + 1 < 4 ? medalhas[index] : medalhas[3]"
18+ :class =" (index + 1 < 4) ? 'medalha' : 'medalha normal'" alt =" " />
19+ <img v-if =" item.aluno.imagem != 'default'" :src =" item.aluno.imagem" alt =" Foto do aluno" >
20+ <img v-else src =" ../../assets/icons/artwork.png" alt =" Foto padrão" >
21+ <p class =" pontos" >{{ (item.rankingNota * 1000).toFixed(2) }} / {{ item.numeroNotas }} pontos</p >
22+ </div >
23+ <div class =" zz" >
24+ <p class =" name" >{{ item.aluno.nome }} - 3º DS</p >
25+ <p class =" pontos" >{{ (item.rankingNota * 1000).toFixed(2) }} / {{ item.numeroNotas }} pontos</p >
26+ </div >
2127 </router-link >
2228 </div >
2329 </div >
You can’t perform that action at this time.
0 commit comments