Skip to content

Commit

Permalink
fix: grid block on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Feb 3, 2025
1 parent 829adcd commit cc15df2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
- ...
-->

## Versione x.x.x (xx/xx/xxxx)

### Fix

- Sistemata la visualizzazione del blocco griglia su mobile: disposti verticalmente ogni blocco della griglia

## Versione 11.26.3 (15/01/2025)

### Fix
Expand Down
9 changes: 9 additions & 0 deletions src/theme/ItaliaTheme/Blocks/_gridBlock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
}
}
}

@media (max-width: #{map-get($grid-breakpoints, md)}) {
> .row {
gap: 1em;
> .col {
flex: 1 0 100%;
}
}
}
}

body.cms-ui.has-toolbar.has-sidebar {
Expand Down

0 comments on commit cc15df2

Please sign in to comment.