From b45e08b10b523c8f34a3adc8f988b8ad43955ada Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Mon, 25 Mar 2024 05:52:49 +0800 Subject: [PATCH] Paginator: fix unnecessary wrapping in tables Fixes https://github.com/johnfactotum/foliate/issues/1278 --- paginator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paginator.js b/paginator.js index b301e4e..e44f516 100644 --- a/paginator.js +++ b/paginator.js @@ -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',