Scope icon classification to floated images

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Tom MoorandClaude Opus 4.8 committed 2026-06-19 10:05:52 -04:00
1 parent 6f55854b7f
commit f096ff2e15
1 file changed
+3 -1
+3 -1
View File
@@ -54,7 +54,9 @@ const Image = (props: Props) => {
});
const isFullWidth = layoutClass === "full-width";
const isIconLike = width > 0 && width <= EditorStyleHelper.imageIconSize;
const isFloated = layoutClass === "left-50" || layoutClass === "right-50";
const isIconLike =
isFloated && width > 0 && width <= EditorStyleHelper.imageIconSize;
const className = [
"image",
layoutClass && `image-${layoutClass}`,