mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-23 14:48:08 +00:00
prevent initial flash
This commit is contained in:
parent
6061cd3633
commit
6d8bf483cb
@ -28,6 +28,14 @@ const Container = styled.div`
|
||||
.desktop {
|
||||
display: none;
|
||||
}
|
||||
h1 {
|
||||
min-height: 32px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
h1 {
|
||||
min-height: 98px;
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
@ -43,11 +51,10 @@ const HeroText = styled.div`
|
||||
`
|
||||
|
||||
const Title = styled(Typography)`
|
||||
@media (min-width: 1440px) {
|
||||
@media (min-width: 1024px) {
|
||||
font-size: var(--lsd-display1-fontSize);
|
||||
line-height: var(--lsd-display1-lineHeight);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
font-size: var(--lsd-h4-fontSize);
|
||||
line-height: var(--lsd-h4-lineHeight);
|
||||
|
Loading…
x
Reference in New Issue
Block a user