Skip to content

Commit 9c412de

Browse files
DedelweissDedelweiss
andcommitted
Fix cover size article (#271)
* fix: correction span * fix: correction span --------- Co-authored-by: Dedelweiss <[email protected]>
1 parent 21b3629 commit 9c412de

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/Articles/Articles.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
height: 100%;
2424
object-fit: cover;
2525
border-radius: 10px;
26-
grid-column: span 6;
2726
@include tablet {grid-column: span 12;}
2827
@include phone-portrait {
2928
grid-column: span 12;

src/components/Articles/Articles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const Articles = () => {
6565
<Text size="medium" className="mgb24">{truncateText(article.excerpt, 25)}</Text>
6666
<ButtonSecondary iconUrl={arrowRight} newPage={true} size="large" to={"https://blog.lunatech.com" + article.slug}><Trans i18nKey="buttonReadMore" /></ButtonSecondary>
6767
</div>
68-
<div className='blog__cover'>
68+
<div className='blog__cover col-lg-6'>
6969
<img src={article.image_url} alt={article.title} />
7070
</div>
7171
</div>

0 commit comments

Comments
 (0)