Skip to content

Commit

Permalink
Set fixed height of card, safari doesn't like aspect-ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
Qluxzz committed Oct 27, 2024
1 parent 7c9ffb7 commit cbaf66e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,10 @@ button {

.card {
aspect-ratio: 2.25 / 3.5;
width: 100px;
min-width: 100px;
max-width: 100px;
max-height: 155px;
min-height: 155px;
position: relative;
perspective: 1000px;
}
Expand Down

0 comments on commit cbaf66e

Please sign in to comment.