Skip to content

Commit

Permalink
Merge pull request #40 from hlxsites/feature/gridLayout
Browse files Browse the repository at this point in the history
fixing the gap
  • Loading branch information
kailasnadh790 authored Dec 8, 2023
2 parents 95bf47f + e7aff1d commit ec00e88
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions cigaradvisor/blocks/article-teaser/article-teaser.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@
padding-bottom: 20px;
}

@media screen and (min-width: 60em) {
.article-teaser.block .article.article-thumbnail {
min-height: 26.25rem;
}
}

.article-teaser.block .article-category {
position: absolute;
top: 20px;
Expand Down Expand Up @@ -95,7 +89,7 @@
display: flex;
align-items: flex-start;
flex: 1 0 13rem;
width: 100%;
width: 100%;
}

.article-teaser.block .article.article-thumbnail .article-image>img {
Expand Down Expand Up @@ -142,12 +136,6 @@
display: block;
}

@media screen and (min-width: 60em) {
.article-teaser.block .article.article-thumbnail .article-header {
min-height: 140px
}
}

.article-teaser.block .article.article-thumbnail .article-title {
margin: 0 14px 16px;
font-size: 18px;
Expand Down Expand Up @@ -284,4 +272,28 @@
justify-content: center;
color: #b19b5e;
font-size: 18px;
}

@media screen and (min-width: 600px) {
.article-teaser.block .article.article-thumbnail .article-header {
flex-grow: 0.2;
}
}

@media screen and (min-width: 900px) {
.article-teaser.block .article.article-thumbnail .article-header {
flex-grow: 0;
}
}

@media screen and (min-width: 1200px) {
.article-teaser.block .article.article-thumbnail .article-header {
min-height: 140px;
}
}

@media screen and (min-width: 1200px) {
.article-teaser.block .article.article-thumbnail {
min-height: 26.25rem;
}
}

0 comments on commit ec00e88

Please sign in to comment.