Make button be constrained primarily by width rather than height

This commit is contained in:
Robin Townsend 2022-07-05 15:49:48 -04:00
parent f15ee439a9
commit 4cb2306de0

View file

@ -1,8 +1,8 @@
.pttButton {
height: 100vh;
width: 100vw;
aspect-ratio: 1;
max-height: 232px;
max-width: 232px;
max-height: min(232px, calc(100vh - 16px));
max-width: min(232px, calc(100vw - 16px));
border-radius: 116px;
color: var(--primary-content);
border: 6px solid var(--accent);