Make button be constrained primarily by width rather than height
This commit is contained in:
parent
f15ee439a9
commit
4cb2306de0
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
.pttButton {
|
.pttButton {
|
||||||
height: 100vh;
|
width: 100vw;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
max-height: 232px;
|
max-height: min(232px, calc(100vh - 16px));
|
||||||
max-width: 232px;
|
max-width: min(232px, calc(100vw - 16px));
|
||||||
border-radius: 116px;
|
border-radius: 116px;
|
||||||
color: var(--primary-content);
|
color: var(--primary-content);
|
||||||
border: 6px solid var(--accent);
|
border: 6px solid var(--accent);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue