apply max width only to sanitized p blocks, not column default

This commit is contained in:
Johann Hoffmann
2024-11-15 14:10:47 +01:00
parent d9f33a279d
commit 87657a18f1
@@ -45,6 +45,7 @@ export default {
p.forEach(p => {
p.style.setProperty('word-wrap', 'break-word');
p.style.setProperty('white-space', 'normal');
p.style.setProperty('max-width', '400px');
})
}
},
@@ -61,8 +62,7 @@ export default {
columnDefaults: {
formatter: "html",
resizable: true,
minWidth: "100px",
maxWidth: "400px"
minWidth: "100px"
}
})
}