mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +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:
parent
d0fbfe10c5
commit
2a982e71ed
1 changed files with 3 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue