Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

remove lol

Sara Vieira43d46348d422
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-thumbnail.tsx b/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-thumbnail.tsx
index 2f4a0daca6..80502bda5d 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-thumbnail.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-thumbnail.tsx
@@ -58,20 +58,22 @@ export const AssetThumbnail = (asset: Asset | UploadingAsset) => {
const isUploading = status === "uploading";
const isUploadedAsset = isUploading === false && "size" in asset;
- const lol = {
- aspectRatio: "1/1",
- display: "flex",
- justifyContent: "center",
- alignItems: "center",
- padding: "0 $2",
- position: "relative",
-
- "&:hover button": {
- opacity: 1,
- },
- };
return (
- <Box title={alt || name} css={lol}>
+ <Box
+ title={alt || name}
+ css={{
+ aspectRatio: "1/1",
+ display: "flex",
+ justifyContent: "center",
+ alignItems: "center",
+ padding: "0 $2",
+ position: "relative",
+
+ "&:hover button": {
+ opacity: 1,
+ },
+ }}
+ >
<Thumbnail path={path} status={status} />
{isUploadedAsset && (
<AssetTooltip asset={asset} onDelete={() => setIsDeleting(true)} />