Skip to content

Commit

Permalink
tentativa de adicionar scroll quando necessario
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-fonseca committed May 8, 2024
1 parent d33e50f commit 1c706fe
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pages/MyPets.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
flex-direction: column;
align-items: center;
height: 100vh;
overflow-y: hidden;
overflow-y: auto; /* Alterado de hidden para auto para habilitar o scroll */
}

.mypets-header {
Expand Down Expand Up @@ -81,7 +81,6 @@
}

.button.add-pet {
order: 0;
background-color: #E6B800;
margin-bottom: 15px;
}
Expand All @@ -101,16 +100,16 @@
display: flex;
align-items: center;
justify-content: flex-start;
}
}

.pet-photo {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
margin-right: 10px;
}
}

.profile-placeholder {
content: url('./assets/images/profile_placeholder.jpeg');
}
}

0 comments on commit 1c706fe

Please sign in to comment.