Prevent text wrapping because large front compared to screen width

This commit is contained in:
2023-05-25 19:50:44 +02:00
parent 23d4b727e6
commit e491546b35

View File

@@ -104,13 +104,17 @@ h2 {
justify-content: space-between; justify-content: space-between;
margin-bottom: 1.75rem; margin-bottom: 1.75rem;
font-size: 3rem; font-size: 2.2rem;
line-height: 1; line-height: 1;
font-weight: 500; font-weight: 500;
color: var(--text-color); color: var(--text-color);
@include tablet { @include tablet {
font-size: 4.5rem; font-size: 2.9rem;
}
@include desktop {
font-size: 3rem;
} }
.unit { .unit {
@@ -132,4 +136,4 @@ h2 {
color: rgba(0, 0, 0, .5); color: rgba(0, 0, 0, .5);
} }
</style> </style>