Fix visual bugs in progress bar and Quick Format dialog on macOS
Fix extra whitespace and misaligned Z icon
Update to e918b430b6
after some recent changes
This commit is contained in:
parent
f861249fce
commit
2fbb7d404a
4 changed files with 4 additions and 9 deletions
|
@ -12,10 +12,6 @@ tabs > tab[visuallyselected="true"] hbox > .tab-text {
|
|||
}
|
||||
|
||||
/* Quick Format dialog, which is based on window corners, which are different on Big Sur */
|
||||
#quick-format-dialog #zotero-icon {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
#quick-format-iframe {
|
||||
margin-top: 2px;
|
||||
}
|
|
@ -20,7 +20,7 @@ window.citation-dialog {
|
|||
}
|
||||
|
||||
.citation-dialog.progress-bar .citation-dialog.deck {
|
||||
height: 32px;
|
||||
height: 37px;
|
||||
}
|
||||
|
||||
.citation-dialog.search {
|
||||
|
|
|
@ -53,8 +53,8 @@ var Zotero_ProgressBar = new function () {
|
|||
|
||||
// With fx60 and drawintitlebar=true Firefox calculates the minHeight
|
||||
// as titlebar+maincontent, so we have hack around that here.
|
||||
if (Zotero.isMac && Zotero.platformMajorVersion >= 60) {
|
||||
document.querySelector(".citation-dialog.entry").style.marginBottom = "-22px";
|
||||
if (Zotero.isMac) {
|
||||
document.querySelector(".citation-dialog.entry").style.marginBottom = "-28px";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -88,10 +88,9 @@ var Zotero_QuickFormat = new function () {
|
|||
qfb.setAttribute("square", "true");
|
||||
}
|
||||
}
|
||||
|
||||
// With fx60 and drawintitlebar=true Firefox calculates the minHeight
|
||||
// as titlebar+maincontent, so we have hack around that here.
|
||||
if (Zotero.isMac && Zotero.platformMajorVersion >= 60) {
|
||||
else if (Zotero.isMac) {
|
||||
qfb.style.marginBottom = "-28px";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue