We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36adc99 commit c03e9abCopy full SHA for c03e9ab
src/App.tsx
@@ -34,8 +34,13 @@ function App() {
34
body.style.backgroundColor = customColors.background || '';
35
}
36
37
+ let classes = ['min-h-screen'];
38
+ if (queryParams.get('centered') !== 'false') {
39
+ classes = classes.concat(['flex', 'justify-center', 'items-center', 'p-4']);
40
+ }
41
+
42
return (
- <div className='min-h-screen flex items-center justify-center p-4'>
43
+ <div className={classes.join(' ')}>
44
<EnumerationDemo
45
demoType={demoType}
46
customColors={customColors}
0 commit comments