Skip to content

Commit

Permalink
Fix cover size article (#271)
Browse files Browse the repository at this point in the history
* fix: correction span

* fix: correction span

---------

Co-authored-by: Dedelweiss <lucas.leblanc@lunatech.fr>
  • Loading branch information
Dedelweiss and Dedelweiss authored Oct 18, 2024
1 parent cd44267 commit f26a377
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Articles/Articles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
height: 100%;
object-fit: cover;
border-radius: 10px;
grid-column: span 6;
@include tablet {grid-column: span 12;}
@include phone-portrait {
grid-column: span 12;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Articles/Articles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Articles = () => {
<Text size="medium" className="mgb24">{truncateText(article.excerpt, 25)}</Text>
<ButtonSecondary iconUrl={arrowRight} newPage={true} size="large" to={"https://blog.lunatech.com" + article.slug}><Trans i18nKey="buttonReadMore" /></ButtonSecondary>
</div>
<div className='blog__cover'>
<div className='blog__cover col-lg-6'>
<img src={article.image_url} alt={article.title} />
</div>
</div>
Expand Down

0 comments on commit f26a377

Please sign in to comment.