fix: address widget editor review feedback
This commit is contained in:
1 parent
e022c3f735
commit
d5cf1b82f2
4 files changed
+8
-5
No files matched your search
@@ -2083,10 +2083,12 @@
|
||||
"label": "Section or rail"
|
||||
},
|
||||
"width": {
|
||||
"label": "Width"
|
||||
"label": "Width",
|
||||
"shortLabel": "W"
|
||||
},
|
||||
"height": {
|
||||
"label": "Height"
|
||||
"label": "Height",
|
||||
"shortLabel": "H"
|
||||
},
|
||||
"xOffset": {
|
||||
"label": "X offset"
|
||||
|
||||
@@ -211,7 +211,7 @@ const WidgetEditPreview = ({
|
||||
allowNegative={false}
|
||||
clampBehavior="strict"
|
||||
size="xs"
|
||||
leftSection="W"
|
||||
leftSection={t("item.moveResize.field.width.shortLabel")}
|
||||
leftSectionPointerEvents="none"
|
||||
/>
|
||||
</Tooltip>
|
||||
@@ -231,7 +231,7 @@ const WidgetEditPreview = ({
|
||||
allowNegative={false}
|
||||
clampBehavior="strict"
|
||||
size="xs"
|
||||
leftSection="H"
|
||||
leftSection={t("item.moveResize.field.height.shortLabel")}
|
||||
leftSectionPointerEvents="none"
|
||||
/>
|
||||
</Tooltip>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
border-color: var(--border-color, var(--default-border-color)) !important;
|
||||
}
|
||||
|
||||
.card:global(.iframe-wrapper) {
|
||||
.card.iframe {
|
||||
background-color: transparent !important;
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ export const WidgetCardShell = ({
|
||||
ref={innerRef}
|
||||
className={combineClasses(
|
||||
classes.card,
|
||||
kind === "iframe" && classes.iframe,
|
||||
`${kind}-wrapper`,
|
||||
"board-grid-item-content",
|
||||
advancedOptions.customCssClasses.join(" "),
|
||||
|
||||
Reference in new issue
Block a user