Skip to content

Commit

Permalink
fix: applied img-wrapper styles to all html elements with class (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni authored May 30, 2024
1 parent 75bf344 commit b66d5af
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 10 deletions.
14 changes: 14 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@
- ...
-->

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

### Migliorie

- ...

### Novità

- ...

### Fix

- Il layout delle card con immagini rimane corretto anche selezionando l'opzione "Non alterare le dimensioni naturali dell'immagine".

## Versione 11.12.5 (30/05/2024)

### Fix
Expand Down
4 changes: 2 additions & 2 deletions src/theme/ItaliaTheme/Blocks/_cardWithImage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
height: auto;
padding: 0;

figure.img-wrapper {
.img-wrapper {
position: static;
margin: 0;
}
Expand Down Expand Up @@ -155,7 +155,7 @@
height: auto;
padding: 0;

figure.img-wrapper {
.img-wrapper {
position: static;
margin: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/theme/ItaliaTheme/Blocks/_ctaBlock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
display: flex;
}

figure.img-wrapper,
.img-wrapper,
picture {
position: absolute;
z-index: -1;
Expand Down
2 changes: 1 addition & 1 deletion src/theme/ItaliaTheme/Blocks/_inEvidenceTemplate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
height: auto;
padding: 0;

figure.img-wrapper {
.img-wrapper {
position: static;
margin: 0;
}
Expand Down
4 changes: 2 additions & 2 deletions src/theme/ItaliaTheme/Blocks/_photogallerytemplate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.single-slide {
figure.img-wrapper {
.img-wrapper {
height: auto;
max-height: 500px;

Expand All @@ -16,7 +16,7 @@
}
}

figure.img-wrapper {
.img-wrapper {
display: flex;
flex-direction: column;
justify-content: center;
Expand Down
8 changes: 4 additions & 4 deletions src/theme/ItaliaTheme/Blocks/_sliderTemplate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
position: relative;
margin: 0 auto;

figure.img-wrapper {
.img-wrapper {
position: relative;
overflow: hidden;
width: 100%;
Expand Down Expand Up @@ -129,7 +129,7 @@

.slide-wrapper {
.img-placeholder,
figure.img-wrapper {
.img-wrapper {
height: 300px;

img {
Expand Down Expand Up @@ -214,7 +214,7 @@
height: auto;
padding: 0;

figure.img-wrapper {
.img-wrapper {
position: static;
margin: 0;
}
Expand Down Expand Up @@ -266,7 +266,7 @@
.slick-slide {
.slide-wrapper {
.img-placeholder,
figure.img-wrapper {
.img-wrapper {
height: 150px;

img {
Expand Down

0 comments on commit b66d5af

Please sign in to comment.