Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
fix: missing image styles from plone/volto#2103
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Nov 23, 2022
1 parent 7243349 commit c15c91c
Showing 1 changed file with 38 additions and 8 deletions.
46 changes: 38 additions & 8 deletions theme/ItaliaTheme/Views/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,41 @@ body {
picture.volto-image {
display: block;
width: 100%;
}

picture.volto-image.responsive img {
width:100%;
height:auto
&.floated {
margin-right: 1em;
margin-bottom: 1em;
float: left;

&.right {
margin-right: 0;
margin-bottom: 1em;
margin-left: 1em;
float: right;
}
}

&.large {
width: 50%;
}

&.medium {
width: 25%;
}

&.small {
width: 15%;
}

&.thumb {
width: 128px;
max-height: 128px;
}

&.responsive img {
width: 100%;
height: auto;
}
}

.full-width,
Expand Down Expand Up @@ -162,12 +192,12 @@ div.sticky-wrapper {

border: 1px solid $neutral-1-a1;

border-radius: 4px;

border-left-width: 10px;
margin-bottom: 20px;
margin-left: 70px;

border-radius: 4px;

box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;

counter-increment: inst;
Expand Down Expand Up @@ -207,8 +237,8 @@ div.sticky-wrapper {
left: -25px;
width: 9px;
height: 9px;
background-color: $secondary;
border-radius: 50%;
background-color: $secondary;

content: '';
}
Expand Down Expand Up @@ -277,9 +307,9 @@ div.sticky-wrapper {
min-height: 44px;
align-items: center;
justify-content: center;
border-radius: 44px;

background-color: $argument-icon-bg;
border-radius: 44px;

.icon,
svg {
Expand Down

0 comments on commit c15c91c

Please sign in to comment.