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

[Bug] internal style, font size #1686

Open
atomGit opened this issue Nov 2, 2023 · 6 comments
Open

[Bug] internal style, font size #1686

atomGit opened this issue Nov 2, 2023 · 6 comments

Comments

@atomGit
Copy link

atomGit commented Nov 2, 2023

Bug Report

Bug Description

if the browser font size is set to a large value, it creates display issues

Screenshots

example

settings dialog appears to be cut off at bottom

System Information

firefox 119
stylus 1.5.37
linux

@atomGit
Copy link
Author

atomGit commented Nov 2, 2023

firefox 'Language and Appearance' settings

@atomGit
Copy link
Author

atomGit commented Nov 2, 2023

font size

@atomGit
Copy link
Author

atomGit commented Nov 2, 2023

in 'Language and Appearance' > 'Fonts', click the 'Advanced' button, then for the Latin font, set all 3 size prefs to something like 20+

sorry, i didn't realize setting the minimum font size was necessary

@tophf
Copy link
Member

tophf commented Nov 2, 2023

Indeed, Stylus never supported changing just the font size. Fixing this problem won't be easy though, so no promises...

@atomGit
Copy link
Author

atomGit commented Nov 2, 2023

it seems like a css problem - this fixes the first issue when i change...

.filter-selection select {
  height: 18px;

to...

.filter-selection select {
  height: unset;

the #help-popup looks a bit harder - i'm not understanding the hierarchy of the css, but if i get rid of these...

#help-popup {
  --pad-x: unset;
  --pad-y: unset;
  --pad-y2: unset;

...and set top to 0, i can see the whole window, but obviously that's not a proper fix - for whatever reason i can't get the content of the dialog window to scroll even though each #help-popup .contents has overflow-y: auto;

@atomGit
Copy link
Author

atomGit commented Nov 2, 2023

AH HA! try this...

#help-popup {
  top: 0;
  height: 100%;
  overflow: auto;
}

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

No branches or pull requests

2 participants