Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message-box font is too big for Cyrillic symbols #832

Open
ostasevych opened this issue Oct 8, 2023 · 1 comment
Open

message-box font is too big for Cyrillic symbols #832

ostasevych opened this issue Oct 8, 2023 · 1 comment

Comments

@ostasevych
Copy link
Contributor

I have added the Ukrainian localisation and found out that the standard font which is message-box is too big for Cyrillic symbols. According to my calculations it is equal to 16px.

image

Is that possible to make the font smaller?

@ostasevych
Copy link
Contributor Author

ostasevych commented Oct 8, 2023

As a workaround I have added to the file js/pdfjs/web/viewer.css at line
1404 + font-size: 13px;

so a piece of code:

:is(.toolbar, .editorParamsToolbar, .findbar, #sidebarContainer)
  :is(input, button, select),
.secondaryToolbar :is(input, button, a, select) {
  outline: none;
  font: message-box;
  font-size: 13px;
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant