contained height depending on view width

This commit is contained in:
jorge 2022-02-02 14:24:56 +01:00
parent ae839911a9
commit 38e997c84b
1 changed files with 11 additions and 1 deletions

View File

@ -277,7 +277,6 @@ table.cf7-db-table tbody td > div {
position: relative;
min-width: 100%;
height: 40vw;
max-height: 50vh;
margin-bottom: 2rem;
overflow: hidden;
}
@ -331,3 +330,14 @@ table.cf7-db-table tbody td > div {
margin: 1rem;
}
}
@media screen and (min-width: 1920px) {
aside.hero .widget-container {
max-height: 50vh;
}
}
@media screen and (min-width: 3840px) {
aside.hero .widget-container {
max-height: 25vh;
}
}