Skip to content

Commit

Permalink
fix: changed layout of ribbonCardTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Mar 27, 2024
1 parent 4d000f0 commit 6dd65fb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
10 changes: 1 addition & 9 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,10 @@
### Fix

- L'etichetta della Card con Nastro (Blocco Elenco) non si sovrappone più all'immagine del nastro.

### Migliorie

- Migliorata l'accessibilità del blocco Icone.
- ...

### Novità

- ...

### Fix

- ...

## Versione 11.8.0 (19/03/2024)

Expand Down
9 changes: 6 additions & 3 deletions src/theme/ItaliaTheme/Blocks/_ribbonCardTemplate.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.ribbon-card-template {
.card {
.flag-icon {
width: $ribbon-width;
}

.dates {
font-size: 0.8em;
text-transform: uppercase;
Expand All @@ -8,11 +12,10 @@
.etichetta {
position: absolute;
top: 3rem;
right: 0px !important;
right: 0px;
left: auto;
width: 75%;
max-width: calc(100% - $ribbon-spacing-h * 3 - $ribbon-width);
justify-content: inherit;
padding-right: 2rem;

.icon {
margin-left: auto;
Expand Down
4 changes: 4 additions & 0 deletions src/theme/_site-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ $external-link-fill-subfooter: $tertiary-text !default;

$dvt-navigation-v-padding: 15px !default;
// $navigation-h-padding: 24px;

$spacer: 16px;
$ribbon-spacing-h: calc($spacer * 3);
$ribbon-width: calc($spacer * 2);

0 comments on commit 6dd65fb

Please sign in to comment.