Skip to content

Commit

Permalink
Stylelint & Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Apr 2, 2021
1 parent 232d50f commit 3341b4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/StyleWrapper/StyleWrapperView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const StyleWrapperView = (props) => {
className: cx(style?.cssClass, customClass, align, {
align,
styled,
'styled-with-bg': styleData.backgroundColor,
'styled-with-bg': styleData.backgroundColor || backgroundImage,
'screen-height': isScreenHeight,
'full-width': align === 'full',
large: size === 'l',
Expand Down
8 changes: 4 additions & 4 deletions src/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,21 @@
img.bg {
/* Set up positioning */
position: absolute;
z-index: -1;
top: 0;
left: 0;
/* Set up proportionate scaling */
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
pointer-events: none;

opacity: 1;
transition: opacity .5s;
pointer-events: none;
transition: opacity 0.5s;

&.hidden {
opacity: 0;
transition: opacity .5s;
transition: opacity 0.5s;
}
}
}
Expand Down

0 comments on commit 3341b4b

Please sign in to comment.