Skip to content

Commit

Permalink
fix: 'add-to-cart' button does not fit the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardo Fernandez Teixeira committed Jul 8, 2024
1 parent 78703b2 commit 9edcab5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion cardapio/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ button {
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
animation: pulse 1s infinite;
}

@keyframes pulse {
Expand Down Expand Up @@ -304,6 +303,19 @@ button {
font-size: 16px;
cursor: pointer;
margin: 5px;
animation: pulse 1s ease-in-out forwards;
transition: background-color 0.5s ease, transform 0.5s ease;
white-space: nowrap;
}
/* Estilos específicos para a versão mobile */
@media (max-width: 320px) {
.menu-item-heading {
flex-direction: column;
}
}

.add-to-cart-btn:hover {
transform: scale(1.1);
}

/* Estilo para a aba lateral */
Expand Down

0 comments on commit 9edcab5

Please sign in to comment.