@orion-studios/payload-studio 0.6.0-beta.130 → 0.6.0-beta.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder-v2/client.js +11 -6
- package/dist/builder-v2/client.mjs +11 -6
- package/package.json +1 -1
|
@@ -2644,12 +2644,17 @@ function GrapesPageEditor({
|
|
|
2644
2644
|
};
|
|
2645
2645
|
const applyQuickLayout = (layout) => {
|
|
2646
2646
|
const nextStyle = quickLayoutStyles[layout];
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2647
|
+
applySelectedStyleAndAttributes(
|
|
2648
|
+
{
|
|
2649
|
+
...nextStyle,
|
|
2650
|
+
...quickLayoutState.spacing ? { padding: quickSpacingStyles[quickLayoutState.spacing] } : {},
|
|
2651
|
+
...quickLayoutState.hidden ? { display: "none" } : {},
|
|
2652
|
+
...quickLayoutState.sticky ? { position: "sticky", top: "0px", "z-index": "10" } : {}
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"data-orion-layout-mode": layout
|
|
2656
|
+
}
|
|
2657
|
+
);
|
|
2653
2658
|
};
|
|
2654
2659
|
const applyQuickSpacing = (spacing) => {
|
|
2655
2660
|
applySelectedStyle({ padding: quickSpacingStyles[spacing] });
|
|
@@ -2520,12 +2520,17 @@ function GrapesPageEditor({
|
|
|
2520
2520
|
};
|
|
2521
2521
|
const applyQuickLayout = (layout) => {
|
|
2522
2522
|
const nextStyle = quickLayoutStyles[layout];
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2523
|
+
applySelectedStyleAndAttributes(
|
|
2524
|
+
{
|
|
2525
|
+
...nextStyle,
|
|
2526
|
+
...quickLayoutState.spacing ? { padding: quickSpacingStyles[quickLayoutState.spacing] } : {},
|
|
2527
|
+
...quickLayoutState.hidden ? { display: "none" } : {},
|
|
2528
|
+
...quickLayoutState.sticky ? { position: "sticky", top: "0px", "z-index": "10" } : {}
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
"data-orion-layout-mode": layout
|
|
2532
|
+
}
|
|
2533
|
+
);
|
|
2529
2534
|
};
|
|
2530
2535
|
const applyQuickSpacing = (spacing) => {
|
|
2531
2536
|
applySelectedStyle({ padding: quickSpacingStyles[spacing] });
|
package/package.json
CHANGED