From 82ee78b3dbc91332dfb746755c957db9929282c2 Mon Sep 17 00:00:00 2001 From: Error 800 Date: Tue, 6 Jan 2015 16:23:45 +0100 Subject: [PATCH] Added !important to hint styles Prevents websites from overriding hint styles --- qutebrowser/browser/hints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index ce2e8b152..c8bd2dbe7 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -281,8 +281,8 @@ class HintManager(QObject): ('position', 'absolute !important'), ('color', config.get('colors', 'hints.fg') + ' !important'), ('background', config.get('colors', 'hints.bg') + ' !important'), - ('font', config.get('fonts', 'hints')) + ' !important', - ('border', config.get('hints', 'border')) + ' !important', + ('font', config.get('fonts', 'hints') + ' !important'), + ('border', config.get('hints', 'border') + ' !important'), ('opacity', str(config.get('hints', 'opacity')) + ' !important'), ]