Make feature image have a max height when showed in a post
This commit is contained in:
parent
9418dce69f
commit
1a5be0c2c6
@ -699,7 +699,9 @@ instead of pages ".mind-page*".
|
|||||||
}
|
}
|
||||||
|
|
||||||
img.mind-post_feature-image {
|
img.mind-post_feature-image {
|
||||||
|
max-height: 400px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
/*
|
/*
|
||||||
TODO: see .mind-post_content-header.
|
TODO: see .mind-post_content-header.
|
||||||
|
|
||||||
@ -1211,6 +1213,10 @@ Media queries are used to make the website responsive and cool on mobile.
|
|||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.mind-post_feature-image {
|
||||||
|
max-height: 350px;
|
||||||
|
}
|
||||||
|
|
||||||
.kg-gallery-image {
|
.kg-gallery-image {
|
||||||
margin: 10px 10px;
|
margin: 10px 10px;
|
||||||
}
|
}
|
||||||
@ -1287,6 +1293,10 @@ Media queries are used to make the website responsive and cool on mobile.
|
|||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.mind-post_feature-image {
|
||||||
|
max-height: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
.kg-gallery-image {
|
.kg-gallery-image {
|
||||||
margin: 10px 5px;
|
margin: 10px 5px;
|
||||||
}
|
}
|
||||||
@ -1329,6 +1339,10 @@ Media queries are used to make the website responsive and cool on mobile.
|
|||||||
.mind-tag-content_main {
|
.mind-tag-content_main {
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.mind-post_feature-image {
|
||||||
|
max-height: 350px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 650px) {
|
@media only screen and (max-width: 650px) {
|
||||||
@ -1385,6 +1399,10 @@ Media queries are used to make the website responsive and cool on mobile.
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.mind-post_feature-image {
|
||||||
|
max-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
.mind-post_info {
|
.mind-post_info {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
@ -1460,6 +1478,10 @@ Media queries are used to make the website responsive and cool on mobile.
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.mind-post_feature-image {
|
||||||
|
max-height: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
.mind-site-footer_main {
|
.mind-site-footer_main {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user