@flozy/editor 5.1.2 → 5.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -299,6 +299,7 @@ const EditorButton = props => {
|
|
299
299
|
children: /*#__PURE__*/_jsx(IconButton, {
|
300
300
|
className: `moreBtnShow ${isMobile || openMoreOptions ? "activeBtnShow" : ""}`,
|
301
301
|
sx: {
|
302
|
+
color: "#64748B",
|
302
303
|
"& path": {
|
303
304
|
fill: openMoreOptions ? appTheme.palette.text.blueText : ""
|
304
305
|
}
|
@@ -115,7 +115,7 @@ const ColorButtons = props => {
|
|
115
115
|
const [row1, ...restRows] = ColorChunks([]);
|
116
116
|
const [anchorEl, setAnchorEl] = useState(null);
|
117
117
|
const open = Boolean(anchorEl);
|
118
|
-
const firstRow = defaultColors
|
118
|
+
const firstRow = defaultColors?.length ? defaultColors : row1;
|
119
119
|
const handleMore = e => {
|
120
120
|
setAnchorEl(e.currentTarget);
|
121
121
|
};
|
@@ -271,12 +271,11 @@ const GridItem = props => {
|
|
271
271
|
return /*#__PURE__*/_jsxs(Item, {
|
272
272
|
item: true,
|
273
273
|
component: "div",
|
274
|
-
className: `grid-item element-root gi-top-wrpr dpath`,
|
274
|
+
className: `grid-item element-root gi-top-wrpr dpath ${lastChild ? "lastChild" : ""}`,
|
275
275
|
...attributes,
|
276
276
|
style: {
|
277
277
|
textAlign: element.alignment || "left",
|
278
|
-
"--minWidth": lastChild ? "auto" : minWidthInPercent
|
279
|
-
flexGrow: lastChild ? 1 : "auto"
|
278
|
+
"--minWidth": lastChild ? "auto" : minWidthInPercent
|
280
279
|
},
|
281
280
|
sx: {
|
282
281
|
...getBRProps,
|