0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-18 21:06:11 -05:00

🐛 Fix hero image space when the screen is small

This commit is contained in:
Eva 2024-01-12 10:32:57 +01:00 committed by Alonso Torres
parent 41bccc7213
commit aeff50ba9f
2 changed files with 10 additions and 8 deletions

View file

@ -203,7 +203,6 @@
display: flex;
flex-direction: column;
align-items: flex-start;
flex-grow: 1;
padding: $s-20 $s-20;
}
@ -222,7 +221,7 @@
a {
color: $da-primary;
}
padding-top: $s-8;
padding: $s-8 0;
}
.close {
position: absolute;
@ -249,8 +248,11 @@
height: $s-200;
overflow: hidden;
border-radius: $br-4;
@media (max-width: 1200px) {
display: none;
width: 0;
}
}
img {
border-radius: $br-4;
height: $s-200;