You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To display Spreadsheet correctly, you need to provide the corresponding styles. You can use the **index.css** file to specify important styles for Spreadsheet and its container:
115
+
116
+
~~~css title="index.css"
117
+
/* specify styles for initial page */
118
+
html,
119
+
body,
120
+
#root {
121
+
height: 100%;
122
+
padding: 0;
123
+
margin: 0;
124
+
}
125
+
126
+
/* specify styles for the Spreadsheet container */
127
+
.widget {
128
+
height: 100%;
109
129
}
110
130
~~~
111
131
@@ -172,7 +192,7 @@ export default App;
172
192
173
193
Go to the ***Spreadsheet.jsx*** file and apply the passed **props** to the Spreadsheet via the [`parse()`](/api/spreadsheet_parse_method/) method:
0 commit comments