Skip to content

Commit

Permalink
fix: hidden pagination size field from calendar block props (#531)
Browse files Browse the repository at this point in the history
* chore: hidden pagination size field from calendar block props

* chore: updated release.md
  • Loading branch information
SaraBianchi authored Feb 14, 2024
1 parent 34739ea commit 92d734e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@

## Versione X.X.X (dd/mm/yyyy)

### Migliorie

- Rimosso il campo "Risultati per pagina" che non agiva sulle impostazioni del blocco Calendario.

### Fix

- Risolto un problema riguardante la visualizzazione delle date nelle card che rappresentano uun CT Evento nei vari listati nel caso in cui l'evento si sviluppi su anni diversi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ const ListingSidebar = (props) => {
<Icon name={downSVG} size="20px" />
)}
</Accordion.Title>
<Accordion.Content active={activeAccIndex === 1}>
<Accordion.Content
active={activeAccIndex === 1}
className="listing-calendar-props"
>
<ListingData
blocksConfig={{ listing: config.blocks.blocksConfig.listing }}
{...props}
Expand Down
5 changes: 5 additions & 0 deletions src/theme/ItaliaTheme/Blocks/_calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,8 @@
}
}
}

/* Hidden pagination size from calendar props */
.listing-calendar-props [class*='field-wrapper-b_size'] {
display: none;
}

0 comments on commit 92d734e

Please sign in to comment.