swoop-common 2.2.103 → 2.2.105
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.
|
@@ -67,38 +67,40 @@ export const StyledFormView = ({ initialData, schema, onChange, stage, pool, rea
|
|
|
67
67
|
}, [json, ui]);
|
|
68
68
|
return (React.createElement(ComponentContext, { componentId: hintComponentId, stage: stage },
|
|
69
69
|
React.createElement(GlobalStyles, { styles: {
|
|
70
|
-
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true']
|
|
70
|
+
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableBody-root > .MuiTableRow-root": {
|
|
71
71
|
display: "grid",
|
|
72
|
-
gridTemplateColumns: "
|
|
73
|
-
|
|
74
|
-
rowGap: "12px",
|
|
72
|
+
gridTemplateColumns: "minmax(140px, 1fr) minmax(260px, 2fr)",
|
|
73
|
+
gap: "12px 24px",
|
|
75
74
|
alignItems: "start",
|
|
76
75
|
position: "relative",
|
|
77
|
-
|
|
76
|
+
width: "100%",
|
|
77
|
+
paddingRight: "44px",
|
|
78
|
+
boxSizing: "border-box",
|
|
78
79
|
},
|
|
79
|
-
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true']
|
|
80
|
+
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root": {
|
|
80
81
|
minWidth: 0,
|
|
81
82
|
width: "100%",
|
|
82
83
|
padding: 0,
|
|
83
84
|
},
|
|
84
|
-
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true']
|
|
85
|
+
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root[data-column-label]::before": {
|
|
85
86
|
content: "attr(data-column-label)",
|
|
86
87
|
display: "block",
|
|
87
|
-
marginBottom: "
|
|
88
|
+
marginBottom: "6px",
|
|
88
89
|
fontWeight: 600,
|
|
90
|
+
fontSize: "0.85rem",
|
|
91
|
+
color: "#666",
|
|
89
92
|
},
|
|
90
|
-
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true']
|
|
93
|
+
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root:only-child": {
|
|
91
94
|
gridColumn: "1 / -1",
|
|
92
95
|
},
|
|
93
|
-
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true']
|
|
96
|
+
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root:last-child": {
|
|
94
97
|
position: "absolute",
|
|
95
98
|
right: 0,
|
|
96
|
-
top: "
|
|
97
|
-
transform: "translateY(-50%)",
|
|
99
|
+
top: "8px",
|
|
98
100
|
width: "auto",
|
|
99
101
|
padding: 0,
|
|
100
102
|
},
|
|
101
|
-
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true']
|
|
103
|
+
".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableHead-root": {
|
|
102
104
|
display: "none",
|
|
103
105
|
},
|
|
104
106
|
} }),
|