popup: use "height: min-content" instead of the hack
This commit is contained in:
parent
d2b9b30239
commit
d053d78c8f
|
@ -1,9 +1,14 @@
|
|||
html, body {
|
||||
height: min-content;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 252px;
|
||||
font-size: 12px;
|
||||
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.firefox body {
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
|
|
|
@ -62,12 +62,6 @@ function initPopup(url) {
|
|||
|
||||
setPopupWidth();
|
||||
|
||||
// force Chrome to resize the popup
|
||||
if (!FIREFOX) {
|
||||
document.body.style.height = '10px';
|
||||
document.documentElement.style.height = '10px';
|
||||
}
|
||||
|
||||
// action buttons
|
||||
$('#disableAll').onchange = function () {
|
||||
installed.classList.toggle('disabled', this.checked);
|
||||
|
|
Loading…
Reference in New Issue
Block a user