-
Notifications
You must be signed in to change notification settings - Fork 364
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
Page content shifts around when switching light/dark theme due to different font sizes #1787
Closed
2 of 11 tasks
Comments
Hello @jantari, thanks for contributing to the Password Pusher community! We will respond as soon as possible. |
jantari
added a commit
to jantari/PasswordPusher
that referenced
this issue
Jan 11, 2024
8 tasks
Because the fix for this is very simple I've opened a PR #1788 |
pglombardo
pushed a commit
that referenced
this issue
Jan 19, 2024
This has been released in v1.36.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
When switching between light and dark theme in by browsers devtools, using the default PasswordPusher theme, I noticed the page content was resizing / shifting up and down.
Looking into it I noticed it's because light and dark theme have different font-sizes configured:
light:
PasswordPusher/app/assets/stylesheets/themes/default.css
Line 61 in 8d2be08
dark:
PasswordPusher/app/assets/stylesheets/themes/default.css
Line 166 in 8d2be08
so basically switching to dark theme also, unexpectedly, made the site layout "more compact".
🔬 How To Reproduce
Steps to reproduce the behavior:
http://localhost:5100
Code sample
no code required for this issue
Environment
Where are you running/using Password Pusher?
If applicable, what version of Password Pusher?
release
tag, at the time of reporting this1.36.5
.Screenshots
📈 Expected behavior
There should be no font size differences between light and dark theme.
📎 Additional context
A workaround I tested to fix this is to add a
custom.css
with the following contents:Theme switcher button location in Firefox DevTools:
The text was updated successfully, but these errors were encountered: