From 01474c7adb8ff1f98c3af15d7de0b398432b3581 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 8 Feb 2015 10:07:15 -0500 Subject: [PATCH] this fixes #727 --- src/css/popup.css | 12 +++++------- src/js/popup.js | 2 +- src/popup.html | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/css/popup.css b/src/css/popup.css index 6ead129be..58378c74d 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -183,12 +183,6 @@ body.dirty #refresh:hover { #dynamicFilteringContainer > div:hover { background-color: #f0f0f0; } -#dynamicFilteringContainer > div#privacyInfo { - background-color: white; - color: #444; - padding: 4px 0; - text-align: center; - } #dynamicFilteringContainer > div > span { background-color: transparent; border: none; @@ -200,7 +194,11 @@ body.dirty #refresh:hover { line-height: 22px; overflow: hidden; position: relative; - vertical-align: top; + vertical-align: middle; + } +#dynamicFilteringContainer > div:nth-of-type(1) > span { + height: 18px; + line-height: 18px; } #dynamicFilteringContainer > div > span:nth-of-type(1) { border-right: 1px solid white; diff --git a/src/js/popup.js b/src/js/popup.js index 29a3a1666..c97d7f6a5 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -256,7 +256,7 @@ var buildAllDynamicFilters = function() { // Remove and reuse all rows: the order may have changed, we can't just // reuse them in-place. - rowsToRecycle = uDom('#dynamicFilteringContainer > div:nth-of-type(6) ~ div').detach(); + rowsToRecycle = uDom('#dynamicFilteringContainer > div:nth-of-type(7) ~ div').detach(); var n = allHostnameRows.length; for ( var i = 0; i < n; i++ ) { diff --git a/src/popup.html b/src/popup.html index c20407374..d2769321e 100644 --- a/src/popup.html +++ b/src/popup.html @@ -28,7 +28,7 @@
- +