mirror of
https://github.com/outline/outline.git
synced 2026-11-25 07:04:37 +03:00
Scope icon classification to floated images
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f55854b7f
commit
f096ff2e15
1 file changed
+3
-1
@@ -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}`,
|
||||
|
||||
Reference in new issue
Block a user