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"
|
||||
},
|
||||
"popupTipDashboard":{
|
||||
"message":"Click to open the dashboard",
|
||||
"message":"Open the dashboard",
|
||||
"description":"English: Click to open the dashboard"
|
||||
},
|
||||
"popupTipZapper":{
|
||||
|
@ -39,11 +39,10 @@ a {
|
||||
:focus {
|
||||
outline: 0;
|
||||
}
|
||||
#gotoPrefs {
|
||||
#appinfo {
|
||||
background-color: #444;
|
||||
border: 0;
|
||||
color: #bbb;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
font-size: 85%;
|
||||
line-height: 1.2;
|
||||
@ -144,7 +143,7 @@ body.off #switch .fa {
|
||||
color: #aaa;
|
||||
cursor: pointer;
|
||||
visibility: hidden;
|
||||
margin-left: 0.8em;
|
||||
margin-left: 0.4em;
|
||||
min-width: 1em;
|
||||
padding: 0 0.2em;
|
||||
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.
|
||||
document.getElementById('rulesetTools').style.setProperty(
|
||||
'top',
|
||||
(document.getElementById('gotoPrefs').getBoundingClientRect().bottom + 3) + 'px'
|
||||
(document.getElementById('appinfo').getBoundingClientRect().bottom + 3) + 'px'
|
||||
);
|
||||
|
||||
var positionRulesetTools = function() {
|
||||
@ -522,7 +522,7 @@ var renderOnce = function() {
|
||||
lpane.style.setProperty(
|
||||
'height',
|
||||
Math.max(
|
||||
window.innerHeight - uDom.nodeFromSelector('#gotoPrefs').offsetHeight,
|
||||
window.innerHeight - uDom.nodeFromSelector('#appinfo').offsetHeight,
|
||||
rpane.offsetHeight
|
||||
) + 'px'
|
||||
);
|
||||
|
@ -10,13 +10,14 @@
|
||||
</head>
|
||||
|
||||
<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 class="tooltipContainer">
|
||||
<p id="switch" data-i18n-tip="popupPowerSwitchInfo" data-tip-position="under"><span class="fa"></span></p>
|
||||
<p id="basicTools">
|
||||
<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>
|
||||
<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>
|
||||
</p>
|
||||
<h2 id="dfToggler" data-i18n="popupBlockedRequestPrompt"> </h2>
|
||||
|
Loading…
Reference in New Issue
Block a user