diff --git a/chromium/pages/popup/index.html b/chromium/pages/popup/index.html index dc954ea58a1a..1bdb75a3f290 100644 --- a/chromium/pages/popup/index.html +++ b/chromium/pages/popup/index.html @@ -32,9 +32,9 @@

diff --git a/chromium/pages/popup/style.css b/chromium/pages/popup/style.css index 6207daab28a4..53bb467c6958 100644 --- a/chromium/pages/popup/style.css +++ b/chromium/pages/popup/style.css @@ -261,7 +261,7 @@ input:checked+label:after { #StableRules h3 { float: left; - margin-left: 10px; + margin: 10px; } #StableRules h2 { margin-left: 10px; @@ -271,12 +271,11 @@ input:checked+label:after { border-radius: 20px; color: #fff; display: block; - float: right; + float: left; font-size: 12px; font-weight: bold; height: 15px; - margin-top: 10px; - margin-right: 55%; + margin-top: 8px; padding: 5px; text-align: center; width: 15px; diff --git a/chromium/pages/popup/ux.js b/chromium/pages/popup/ux.js index 1752cd67a927..ba51b73df0f4 100644 --- a/chromium/pages/popup/ux.js +++ b/chromium/pages/popup/ux.js @@ -138,9 +138,10 @@ function showHttpNowhereUI() { e('http-nowhere-checkbox').checked = true; e('HttpNowhere__header').innerText = chrome.i18n.getMessage("menu_encryptAllSitesEligibleOn"); e('HttpNowhere__explained').innerText = chrome.i18n.getMessage("menu_httpNoWhereExplainedBlocked"); + } else { + e('HttpNowhere__header').innerText = chrome.i18n.getMessage("menu_encryptAllSitesEligibleOff"); + e('HttpNowhere__explained').innerText = chrome.i18n.getMessage("menu_httpNoWhereExplainedAllowed"); } - e('HttpNowhere__header').innerText = chrome.i18n.getMessage("menu_encryptAllSitesEligibleOff"); - e('HttpNowhere__explained').innerText = chrome.i18n.getMessage("menu_httpNoWhereExplainedAllowed"); e('HttpNowhere').style.visibility = "visible"; }); };