mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Paginator: fix unnecessary wrapping in tables
Fixes https://github.com/johnfactotum/foliate/issues/1278
This commit is contained in:
+1
-1
@@ -270,7 +270,7 @@ class View {
|
|||||||
'padding': vertical ? `${gap / 2}px 0` : `0 ${gap / 2}px`,
|
'padding': vertical ? `${gap / 2}px 0` : `0 ${gap / 2}px`,
|
||||||
'overflow': 'hidden',
|
'overflow': 'hidden',
|
||||||
// force wrap long words
|
// force wrap long words
|
||||||
'overflow-wrap': 'anywhere',
|
'overflow-wrap': 'break-word',
|
||||||
// reset some potentially problematic props
|
// reset some potentially problematic props
|
||||||
'position': 'static', 'border': '0', 'margin': '0',
|
'position': 'static', 'border': '0', 'margin': '0',
|
||||||
'max-height': 'none', 'max-width': 'none',
|
'max-height': 'none', 'max-width': 'none',
|
||||||
|
|||||||
Reference in New Issue
Block a user