Ver Fonte

ajuste proporcao foto

Gustavo Zanatta há 1 mês atrás
pai
commit
e2459417e4

+ 6 - 0
src/pages/associado/carteirinha/CarteirinhaPage.vue

@@ -160,6 +160,12 @@ onMounted(async () => {
     border: 2px solid rgba(255, 255, 255, 0.4);
     background: rgba(255, 255, 255, 0.15);
     flex-shrink: 0;
+
+    img {
+      width: 100%;
+      height: 100%;
+      object-fit: cover;
+    }
   }
 
   .card-info {

+ 6 - 0
src/pages/associado/profile/ProfilePage.vue

@@ -317,6 +317,12 @@ const onAddDependent = () => {
 .profile-avatar {
   background: rgba(255, 255, 255, 0.18) !important;
   border: 2px solid rgba(255, 255, 255, 0.45);
+
+  img {
+    width: 100%;
+    height: 100%;
+    object-fit: cover;
+  }
 }
 
 .profile-avatar-edit {