fix: admin/custom: possible horizontal overflow
Massimo Melina committed
Apr 25, 2024 at 23:01 UTC
a5cc1278ac416f4010a0fdfca912aa969703737d
1 file changed
+2
-1
admin/src/App.ts
+2
-1
@@ -34,7 +34,8 @@ function App() {
34
35
function ApplyTheme(props:any) {
36
return h(Box, {
37
- sx: { bgcolor: 'background.default', color: 'text.primary', flex: 1, },
37
+ sx: { bgcolor: 'background.default', color: 'text.primary', flex: 1,
38
+ maxWidth: '100%' /*avoid horizontal overflow (eg: customHtml with long line) */ },
39
...props
40
})
41
}