From 8d60f2fc6cc94c45a3c3fb1f7e606f6eb766746b Mon Sep 17 00:00:00 2001 From: poire-z Date: Sun, 4 Nov 2018 20:57:45 +0100 Subject: [PATCH] bump crengine: fix vertical-align and others bump crengine, which includes: - Avoid uneeded re-rendering on load when with full status bar - Update french hyphenation pattern - Fix border-collapse on table cells in some cases - Fix line-height inheritance when no unit - Fix: don't ignore space following an image - Fix: ignore occasional space at start of line - Fix possible segfault when viewing HTML - Fix and extend support of vertical-align Also add a style tweak to middle align images with text, which may make some text with inline icons and such nicer (depending on images sizes and selected Zoom/DPI). --- base | 2 +- frontend/ui/data/css_tweaks.lua | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/base b/base index f13f1ce2ee42..bcd8ba4e744c 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit f13f1ce2ee42a64788ad80adb12d34197406b984 +Subproject commit bcd8ba4e744c58aa504e8031669c1ab96cacfc1e diff --git a/frontend/ui/data/css_tweaks.lua b/frontend/ui/data/css_tweaks.lua index cf6671c2d226..9cd7f2b51389 100644 --- a/frontend/ui/data/css_tweaks.lua +++ b/frontend/ui/data/css_tweaks.lua @@ -185,6 +185,11 @@ img { } ]], }, + { + id = "image_valign_middle"; + title = _("Middle align images with text"), + css = [[img { vertical-align: middle; }]], + }, }, -- No current need for workarounds -- {