Skip to content

Commit

Permalink
Remove mask-image duplication for the print/download buttons
Browse files Browse the repository at this point in the history
With the recent re-factoring of the viewer CSS rules we now have some duplication of the `mask-image` definitions for the print/download buttons in the secondaryToolbar; note https://github.com/mozilla/pdf.js/blob/17419de15709892935ece25ffd6af105a7e6814d/web/viewer.css#L1204-L1210
  • Loading branch information
Snuffleupagus committed Oct 20, 2024
1 parent 17419de commit 65b38f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ body {
mask-image: var(--toolbarButton-editorStamp-icon);
}

:is(#printButton, #secondaryPrint)::before {
#printButton::before {
mask-image: var(--toolbarButton-print-icon);
}

Expand All @@ -582,7 +582,7 @@ body {
}
/*#endif*/

:is(#downloadButton, #secondaryDownload)::before {
#downloadButton::before {
mask-image: var(--toolbarButton-download-icon);
}

Expand Down

0 comments on commit 65b38f2

Please sign in to comment.