Fix text being too wide sometimes
This commit is contained in:
parent
72d608f0b6
commit
1820154c58
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mainTitle {
|
.mainTitle {
|
||||||
font-size: calc(2rem + 2vw);
|
font-size: min(calc(2rem + 2vw), 3rem);
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
line-height: calc(2.2rem + 2vw);
|
line-height: min(calc(2.2rem + 2vw), 3rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
#card {
|
#card {
|
||||||
|
|
Loading…
Reference in a new issue