mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 17:19:38 +02:00
fix #2718
This commit is contained in:
parent
0c0ebb8a87
commit
9b55684551
@ -68,7 +68,7 @@
|
|||||||
"description":"English: or"
|
"description":"English: or"
|
||||||
},
|
},
|
||||||
"popupTipDashboard":{
|
"popupTipDashboard":{
|
||||||
"message":"Click to open the dashboard",
|
"message":"Open the dashboard",
|
||||||
"description":"English: Click to open the dashboard"
|
"description":"English: Click to open the dashboard"
|
||||||
},
|
},
|
||||||
"popupTipZapper":{
|
"popupTipZapper":{
|
||||||
|
@ -39,11 +39,10 @@ a {
|
|||||||
:focus {
|
:focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
#gotoPrefs {
|
#appinfo {
|
||||||
background-color: #444;
|
background-color: #444;
|
||||||
border: 0;
|
border: 0;
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
cursor: pointer;
|
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
@ -144,7 +143,7 @@ body.off #switch .fa {
|
|||||||
color: #aaa;
|
color: #aaa;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
margin-left: 0.8em;
|
margin-left: 0.4em;
|
||||||
min-width: 1em;
|
min-width: 1em;
|
||||||
padding: 0 0.2em;
|
padding: 0 0.2em;
|
||||||
unicode-bidi: embed;
|
unicode-bidi: embed;
|
||||||
|
@ -55,7 +55,7 @@ if ( /[\?&]mobile=1/.test(window.location.search) ) {
|
|||||||
// - Its horizontal position depends on whether there is a vertical scrollbar.
|
// - Its horizontal position depends on whether there is a vertical scrollbar.
|
||||||
document.getElementById('rulesetTools').style.setProperty(
|
document.getElementById('rulesetTools').style.setProperty(
|
||||||
'top',
|
'top',
|
||||||
(document.getElementById('gotoPrefs').getBoundingClientRect().bottom + 3) + 'px'
|
(document.getElementById('appinfo').getBoundingClientRect().bottom + 3) + 'px'
|
||||||
);
|
);
|
||||||
|
|
||||||
var positionRulesetTools = function() {
|
var positionRulesetTools = function() {
|
||||||
@ -522,7 +522,7 @@ var renderOnce = function() {
|
|||||||
lpane.style.setProperty(
|
lpane.style.setProperty(
|
||||||
'height',
|
'height',
|
||||||
Math.max(
|
Math.max(
|
||||||
window.innerHeight - uDom.nodeFromSelector('#gotoPrefs').offsetHeight,
|
window.innerHeight - uDom.nodeFromSelector('#appinfo').offsetHeight,
|
||||||
rpane.offsetHeight
|
rpane.offsetHeight
|
||||||
) + 'px'
|
) + 'px'
|
||||||
);
|
);
|
||||||
|
@ -10,13 +10,14 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<a href="dashboard.html" target="_blank" id="gotoPrefs" data-i18n-tip="popupTipDashboard" data-tip-position="under"><span id="appname"> </span> <span id="version"> </span></a>
|
<span id="appinfo"><span id="appname"> </span> <span id="version"> </span></span>
|
||||||
<div id="panes">
|
<div id="panes">
|
||||||
<div class="tooltipContainer">
|
<div class="tooltipContainer">
|
||||||
<p id="switch" data-i18n-tip="popupPowerSwitchInfo" data-tip-position="under"><span class="fa"></span></p>
|
<p id="switch" data-i18n-tip="popupPowerSwitchInfo" data-tip-position="under"><span class="fa"></span></p>
|
||||||
<p id="basicTools">
|
<p id="basicTools">
|
||||||
<span id="gotoZap" class="fa tool" data-i18n-tip="popupTipZapper" data-tip-position="under"></span>
|
<span id="gotoZap" class="fa tool" data-i18n-tip="popupTipZapper" data-tip-position="under"></span>
|
||||||
<span id="gotoPick" class="fa tool" data-i18n-tip="popupTipPicker" data-tip-position="under"></span>
|
<span id="gotoPick" class="fa tool" data-i18n-tip="popupTipPicker" data-tip-position="under"></span>
|
||||||
|
<a href="dashboard.html" class="fa tool enabled" data-i18n-tip="popupTipDashboard" data-tip-position="under"></a>
|
||||||
<a href="logger-ui.html" class="fa tool enabled" data-i18n-tip="popupTipLog" data-tip-position="under"></a>
|
<a href="logger-ui.html" class="fa tool enabled" data-i18n-tip="popupTipLog" data-tip-position="under"></a>
|
||||||
</p>
|
</p>
|
||||||
<h2 id="dfToggler" data-i18n="popupBlockedRequestPrompt"> </h2>
|
<h2 id="dfToggler" data-i18n="popupBlockedRequestPrompt"> </h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user