1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge the duplicate .editorParamsToolbar CSS blocks

Now that we have dedicated CSS scopes for the findbar and the secondary
toolbar we have ended up with two CSS blocks with identical selectors,
so now we can combine them for simplicity and to remove some rules in
the first block that were always overridden by the second block.

Co-authored-by: Calixte Denizet <calixte.denizet@gmail.com>
This commit is contained in:
Tim van der Meij 2024-08-12 19:51:22 +02:00
parent d0fbfe10c5
commit 2a982e71ed
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762

View file

@ -446,11 +446,13 @@ body {
}
.editorParamsToolbar {
background-color: var(--doorhanger-bg-color);
top: var(--toolbar-height);
position: absolute;
z-index: 30000;
height: auto;
padding: 0 4px;
inset-inline-end: 4px;
padding: 6px 0 10px;
margin: 4px 2px;
font: message-box;
font-size: 12px;
@ -459,13 +461,6 @@ body {
cursor: default;
}
.editorParamsToolbar {
padding: 6px 0 10px;
inset-inline-end: 4px;
height: auto;
background-color: var(--doorhanger-bg-color);
}
.editorParamsToolbarContainer {
width: 220px;
margin-bottom: -4px;