Constant width for img in newsBox
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.newsBody > img{
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.newsBody{
|
||||
flex-direction: row;
|
||||
@@ -43,12 +47,13 @@
|
||||
}
|
||||
|
||||
.newsText{
|
||||
flex: 3;
|
||||
margin: 1vw;
|
||||
}
|
||||
.newsText a {
|
||||
float: none;
|
||||
}
|
||||
.newsText amp-img,
|
||||
.newsText amp-img,
|
||||
.newsText img{
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
@@ -56,6 +61,7 @@
|
||||
margin: auto;
|
||||
box-shadow: 0 1px 2px 0 rgba(0,0,0,.5);
|
||||
}
|
||||
|
||||
.newsText video,
|
||||
.newsText amp-video{
|
||||
max-width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user