Skip to content

Commit

Permalink
change(copyright): renamed copyright-image to copyright-wrapper
Browse files Browse the repository at this point in the history
- better reflecting what this div contains since there is no image inside the copyright
  • Loading branch information
ichim-david committed Mar 8, 2023
1 parent 8647979 commit 015d2e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class Edit extends Component {
}
alt={data.alt || ''}
/>
<div className={`copyright-image ${copyrightPosition}`}>
<div className={`copyright-wrapper ${copyrightPosition}`}>
{copyright && showCopyright ? (
<Copyright copyrightPosition={copyrightPosition}>
<Copyright.Icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const View = (props) => {
<div
onMouseEnter={() => setHovering(true)}
onMouseLeave={() => setHovering(false)}
className={`copyright-image ${
className={`copyright-wrapper ${
copyrightPosition ? copyrightPosition : 'left'
}`}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Edit extends Component {
}
alt={data.image_caption || ''}
/>
<div className="copyright-image">
<div className="copyright-wrapper">
{copyright ? (
<Copyright copyrightPosition={copyrightPosition}>
<Copyright.Icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const View = (props) => {
<div
onMouseEnter={() => setHovering(true)}
onMouseLeave={() => setHovering(false)}
className={`copyright-image ${
className={`copyright-wrapper ${
copyrightPosition ? copyrightPosition : 'left'
}`}
>
Expand Down

0 comments on commit 015d2e8

Please sign in to comment.