From 320ea3485a91643731dc9316cefa96ddf0e39379 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 27 Aug 2017 12:56:54 +0300 Subject: [PATCH] hyphenate blocked-info in FF --- js/dom.js | 2 ++ popup/popup.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/js/dom.js b/js/dom.js index 90419571..0f56aa78 100644 --- a/js/dom.js +++ b/js/dom.js @@ -49,6 +49,8 @@ navigator.userAgent.includes('Firefox') && setTimeout(() => { sizes: size + 'x' + size, })); } + // set hyphenation language + document.documentElement.setAttribute('lang', chrome.i18n.getUILanguage()); }); diff --git a/popup/popup.css b/popup/popup.css index 1c78f642..c666221b 100644 --- a/popup/popup.css +++ b/popup/popup.css @@ -408,6 +408,10 @@ body.blocked .actions > .left-gutter { border-bottom: 1px solid black; } +.blocked-info { + hyphens: auto; +} + .blocked-info label { padding: 5px 0; display: block;