Skip to content

Commit

Permalink
fix(imageBlock): re-add sizeWidget classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Mar 15, 2023
1 parent 45b1086 commit de4673b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ class Edit extends Component {
<img
className={cx({
'full-width': data.align === 'full',
large: data.size === 'l',
medium: data.size === 'm',
small: data.size === 's',
})}
src={
isInternalURL(data.url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export const View = (props) => {
<img
className={cx({
'full-width': data.align === 'full',
large: data.size === 'l',
medium: data.size === 'm',
small: data.size === 's',
})}
src={
isInternalURL(data.url)
Expand Down

0 comments on commit de4673b

Please sign in to comment.