@ray-js/code-sandbox 0.0.7-beta-14 → 0.0.7-beta-15
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.
|
@@ -88,7 +88,11 @@ export const CodeSandbox = _ref => {
|
|
|
88
88
|
onChange: newCode => {
|
|
89
89
|
postCode(newCode);
|
|
90
90
|
}
|
|
91
|
-
}))) : /*#__PURE__*/React.createElement(
|
|
91
|
+
}))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MainHeader, null, /*#__PURE__*/React.createElement(MainHeaderItem, {
|
|
92
|
+
style: {
|
|
93
|
+
width: '100%'
|
|
94
|
+
}
|
|
95
|
+
}, "Js Code")), /*#__PURE__*/React.createElement(MainContent, null, /*#__PURE__*/React.createElement(CodeEditor, {
|
|
92
96
|
isZhLanguage: isZhLanguage,
|
|
93
97
|
baseUri: baseUri,
|
|
94
98
|
noTypeInit: noTypeInit,
|
|
@@ -96,12 +100,15 @@ export const CodeSandbox = _ref => {
|
|
|
96
100
|
height: "calc(90vh - 103px + 48px)",
|
|
97
101
|
ref: apiRef,
|
|
98
102
|
show: show,
|
|
103
|
+
style: {
|
|
104
|
+
width: '100%'
|
|
105
|
+
},
|
|
99
106
|
title: title,
|
|
100
107
|
code: code,
|
|
101
108
|
onChange: newCode => {
|
|
102
109
|
postCode(newCode);
|
|
103
110
|
}
|
|
104
|
-
})), pageName && /*#__PURE__*/React.createElement(Right, null, /*#__PURE__*/React.createElement(Demo, {
|
|
111
|
+
})))), pageName && /*#__PURE__*/React.createElement(Right, null, /*#__PURE__*/React.createElement(Demo, {
|
|
105
112
|
emptyText: emptyText,
|
|
106
113
|
langKey: langKey,
|
|
107
114
|
baseUri: baseUri,
|