contained height depending on view width
This commit is contained in:
parent
ae839911a9
commit
38e997c84b
|
@ -277,7 +277,6 @@ table.cf7-db-table tbody td > div {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
height: 40vw;
|
height: 40vw;
|
||||||
max-height: 50vh;
|
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -331,3 +330,14 @@ table.cf7-db-table tbody td > div {
|
||||||
margin: 1rem;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue