Skip to content

Commit

Permalink
fix: ct Cartella Modulistica layout fixes, handle long text and fix m…
Browse files Browse the repository at this point in the history
…obile layout (#497)

Co-authored-by: Piero Nicolli <[email protected]>
  • Loading branch information
deodorhunter and pnicolli authored Jan 29, 2024
1 parent 9644292 commit 40ca2c9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
### 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

## Versione 11.3.2 (19/01/2023)

Expand Down
13 changes: 12 additions & 1 deletion src/theme/ItaliaTheme/Views/_cartellaModulistica.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ $docs-section-margin: 3em;
justify-content: space-between;
padding: 0.4em 0;
gap: 4rem;

.title {
flex: 1;
}
.title-wrap {
flex: 1;

Expand Down Expand Up @@ -182,6 +184,14 @@ $docs-section-margin: 3em;
.documents-section,
.document-row-section {
.doc-row {
.doc:not(.modulo) {
flex-direction: column;
align-items: flex-start;
justify-content: center;
.downloads {
width: 100%;
}
}
.doc {
flex-wrap: wrap;
align-items: center;
Expand Down Expand Up @@ -211,6 +221,7 @@ $docs-section-margin: 3em;

&.modulo {
justify-content: space-between;
flex-wrap: nowrap;

.title,
.downloads {
Expand Down

0 comments on commit 40ca2c9

Please sign in to comment.