playing with a preview icon

This commit is contained in:
sawka
2024-07-30 22:02:52 -07:00
parent ea8914cb85
commit 827263d2d5
2 changed files with 10 additions and 1 deletions
+8
View File
@@ -257,6 +257,14 @@
flex-grow: 1;
border-bottom-left-radius: var(--block-border-radius);
border-bottom-right-radius: var(--block-border-radius);
display: flex;
align-items: center;
justify-content: center;
i {
opacity: 0.7;
font-size: 45px;
}
}
}
+2 -1
View File
@@ -392,6 +392,7 @@ const BlockFrame_Default_Component = ({
innerStyle.backgroundBlendMode = customBg["bg:blendmode"];
}
}
const previewElem = <div className="block-frame-preview">{viewIconElem}</div>;
return (
<div
className={clsx(
@@ -434,7 +435,7 @@ const BlockFrame_Default_Component = ({
<div className="block-frame-textelems-wrapper">{headerTextElems}</div>
<div className="block-frame-end-icons">{endIconsElem}</div>
</div>
{preview ? <div className="block-frame-preview" /> : children}
{preview ? previewElem : children}
</div>
</div>
);