page sectioned - fix image max height on mobile
This commit is contained in:
parent
f22b3599a3
commit
9dbf57640d
2 changed files with 16 additions and 10 deletions
|
|
@ -74,15 +74,18 @@
|
||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 800px) {
|
.section__row.fixed-img-height img {
|
||||||
.section__row.fixed-img-height img {
|
max-height: var(--height);
|
||||||
max-height: var(--height);
|
object-fit: contain;
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 800px) {
|
@media screen and (max-width: 800px) {
|
||||||
.anchors-strip {
|
.anchors-strip {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section__row.fixed-img-height img {
|
||||||
|
max-height: calc(var(--height) * 3);
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
assets/dist/style.css
vendored
13
assets/dist/style.css
vendored
|
|
@ -1618,17 +1618,20 @@ section.key-infos .key-infos__key:not(:last-child) {
|
||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 800px) {
|
.section__row.fixed-img-height img {
|
||||||
.section__row.fixed-img-height img {
|
max-height: var(--height);
|
||||||
max-height: var(--height);
|
object-fit: contain;
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 800px) {
|
@media screen and (max-width: 800px) {
|
||||||
.anchors-strip {
|
.anchors-strip {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section__row.fixed-img-height img {
|
||||||
|
max-height: calc(var(--height) * 3);
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue