Paginator: fix unnecessary wrapping in tables

Fixes https://github.com/johnfactotum/foliate/issues/1278
This commit is contained in:
John Factotum
2024-03-25 05:52:49 +08:00
parent b0d7ed481f
commit b45e08b10b
+1 -1
View File
@@ -270,7 +270,7 @@ class View {
'padding': vertical ? `${gap / 2}px 0` : `0 ${gap / 2}px`,
'overflow': 'hidden',
// force wrap long words
'overflow-wrap': 'anywhere',
'overflow-wrap': 'break-word',
// reset some potentially problematic props
'position': 'static', 'border': '0', 'margin': '0',
'max-height': 'none', 'max-width': 'none',