Skip to content

Commit

Permalink
fix: improved alignment of topic links in card with image (#866)
Browse files Browse the repository at this point in the history
Co-authored-by: Martina Bustacchini <[email protected]>
  • Loading branch information
sabrina-bongiovanni and deodorhunter authored Feb 3, 2025
1 parent 004e6b7 commit fcabb1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

### Fix

- ...
- Gli argomenti nelle card con immagine sono allineati correttamente.

## Versione 11.26.3 (15/01/2025)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const CardWithImageDefault = (props) => {
<BlockExtraTags {...props} item={item} itemIndex={index} />
{topics?.length > 0 && (
<div
className={cx('', {
className={cx('card-with-image-additional-links', {
'mb-3': eventRecurrenceMore,
})}
>
Expand Down
4 changes: 4 additions & 0 deletions src/theme/ItaliaTheme/Blocks/_cardWithImage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
display: inline-block;
}

.card-with-image-additional-links a {
width: auto;
}

.img-responsive-wrapper {
width: inherit;

Expand Down

0 comments on commit fcabb1d

Please sign in to comment.