Skip to content

Commit

Permalink
fix(studio): fix img renderer for node preview (#385)
Browse files Browse the repository at this point in the history
* fix(studio): fix img renderer for node preview

* change height
  • Loading branch information
davidvitora committed Aug 18, 2022
1 parent e807c16 commit 3f928c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ActionItem extends Component<Props> {
[style.missingTranslation]: preview?.startsWith('(missing translation) ')
})

if (preview && item?.schema?.title === 'Image') {
if (preview && item?.schema?.title === 'image') {
const markdownRender = (
<Markdown
source={preview}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
}

.imagePreview {
width: 140px;
height: 40px;
}

.rtl {
Expand Down

0 comments on commit 3f928c3

Please sign in to comment.