-
Notifications
You must be signed in to change notification settings - Fork 304
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
Fix kiwi://extensions on small screens #732
base: kiwi
Are you sure you want to change the base?
Conversation
@kiwibrowser I would appreciate if you could trigger CI build, since GitHub Actions on my fork do not have necessary token and I couldn't find docs about building Kiwi from full source on Linux (or any other platform). |
This is basically a "hello world" PR to test out build system and process while fixing a minor thing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fairly good, have not tested myself either, though.
@@ -68,6 +68,13 @@ | |||
--cr-toolbar-field-max-width: var(--cr-toolbar-center-basis); | |||
--cr-toolbar-field-width: 100%; | |||
} | |||
|
|||
/* On small screens hide the toggle label so to live space for toggle itself. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*hide the toggle label to leave space
@@ -68,6 +68,13 @@ | |||
--cr-toolbar-field-max-width: var(--cr-toolbar-center-basis); | |||
--cr-toolbar-field-width: 100%; | |||
} | |||
|
|||
/* On small screens hide the toggle label so to live space for toggle itself. */ | |||
@media (max-width: 400px) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure setting a (large enough though )constant is a good practice.
Great effort! |
This was not tested on real build yet (waiting for CI)
This PR fixes visual issues of
kiwi://extensions
on small screens (less than 400 virtual pixels):There was a way to access the toggle, but it was not intuitive (click on "search" icon to hide page label, then hold and swipe the toggle).
Before
Screenshot made on Kiwi 105.0.5195.33 on Samsung Galaxy S20 FE:
After:
Screenshot made on Chromium on PC (real Kiwi screenshot coming later):