Skip to content

Commit

Permalink
Merge branch 'main' into bug_51205_visualizzazione_cartella_modulistica
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli authored Jan 29, 2024
2 parents c057f73 + 9644292 commit e48cc2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

### Fix

- Risolto un problema di visualizzazione degli argomenti indicati come altri argomenti nel blocco Argomenti quando il loro numero è esiguo
- Sistemato il layout e la visualizzazione della vista del CT Cartella Modulistica per gestire al meglio gli elementi
titolo, titolo del modulo e link al download in caso di testi lunghi, specialmente su mobile

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ const messages = defineMessages({
const BottomBody = ({ data, intl }) => {
return data?.arguments?.length > 0 ? (
<Container className="text-center">
<div className="row d-lg-inline-flex pt-5">
<div className="col-lg-3">
<div className="row d-lg-inline-flex align-items-center pt-5">
<div className="col-lg-auto">
<h6 className="text-uppercase text-center mt-1">
{intl?.formatMessage(messages.otherArguments)}
</h6>
</div>
<div className="col-lg-9 text-start">
<div className="col-lg-auto">
{data?.arguments?.map((argument, index) => (
<Chip
color="primary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const GridGalleryTemplate = ({
});

let scale = null;
if (index % 7 === 0 || index % 7 === 6) {
if (index % 7 === 0 || index % 7 === 6 || index % 7 === 3) {
scale = 'great';
}
if (index % 7 === 1 || index % 7 === 5) {
Expand All @@ -71,7 +71,6 @@ const GridGalleryTemplate = ({
if (index % 7 === 2 || index % 7 === 4) {
scale = 'large';
}

if (scale && item?.image?.scales?.[scale]) {
image = (
<picture className="volto-image responsive">
Expand Down

0 comments on commit e48cc2f

Please sign in to comment.