fix: address widget editor review feedback

This commit is contained in:
ajnart committed 2026-08-23 01:20:39 +02:00
1 parent e022c3f735
commit d5cf1b82f2
4 files changed
+8 -5

No files matched your search

+4 -2
View File
@@ -2083,10 +2083,12 @@
"label": "Section or rail" "label": "Section or rail"
}, },
"width": { "width": {
"label": "Width" "label": "Width",
"shortLabel": "W"
}, },
"height": { "height": {
"label": "Height" "label": "Height",
"shortLabel": "H"
}, },
"xOffset": { "xOffset": {
"label": "X offset" "label": "X offset"
@@ -211,7 +211,7 @@ const WidgetEditPreview = ({
allowNegative={false} allowNegative={false}
clampBehavior="strict" clampBehavior="strict"
size="xs" size="xs"
leftSection="W" leftSection={t("item.moveResize.field.width.shortLabel")}
leftSectionPointerEvents="none" leftSectionPointerEvents="none"
/> />
</Tooltip> </Tooltip>
@@ -231,7 +231,7 @@ const WidgetEditPreview = ({
allowNegative={false} allowNegative={false}
clampBehavior="strict" clampBehavior="strict"
size="xs" size="xs"
leftSection="H" leftSection={t("item.moveResize.field.height.shortLabel")}
leftSectionPointerEvents="none" leftSectionPointerEvents="none"
/> />
</Tooltip> </Tooltip>
@@ -13,7 +13,7 @@
border-color: var(--border-color, var(--default-border-color)) !important; border-color: var(--border-color, var(--default-border-color)) !important;
} }
.card:global(.iframe-wrapper) { .card.iframe {
background-color: transparent !important; background-color: transparent !important;
border-color: transparent !important; border-color: transparent !important;
} }
@@ -44,6 +44,7 @@ export const WidgetCardShell = ({
ref={innerRef} ref={innerRef}
className={combineClasses( className={combineClasses(
classes.card, classes.card,
kind === "iframe" && classes.iframe,
`${kind}-wrapper`, `${kind}-wrapper`,
"board-grid-item-content", "board-grid-item-content",
advancedOptions.customCssClasses.join(" "), advancedOptions.customCssClasses.join(" "),