Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improved alignment of topic links in card with image #867

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@

- Impostando degli heading all'interno delle sezioni di testo nei vari CT, gli stili sono ora coerenti con l'ordine corretto dei titoli utilizzati.


### Novità

- ...

### 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