Use a CSS-only solution to set the dropdownToolbarButton width (issue 17137)

Note that CSS-features such as e.g. `flex` didn't exist, or had poor cross-browser support, back when the JavaScript-based solution was initially implemented.
This commit is contained in:
Jonas Jenwald 2023-10-19 12:22:21 +02:00
parent 5d8be99782
commit 482b789edf
3 changed files with 7 additions and 60 deletions

View file

@ -58,10 +58,6 @@ const DEFAULT_L10N_STRINGS = {
"pdfjs-find-match-count-limit[other]": "More than { $limit } matches",
"pdfjs-find-not-found": "Phrase not found",
"pdfjs-page-scale-width": "Page Width",
"pdfjs-page-scale-fit": "Page Fit",
"pdfjs-page-scale-auto": "Automatic Zoom",
"pdfjs-page-scale-actual": "Actual Size",
"pdfjs-page-scale-percent": "{ $scale }%",
"pdfjs-loading-error": "An error occurred while loading the PDF.",