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

Fix search header left margins on small screens #839

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

Kuuuube
Copy link
Member

@Kuuuube Kuuuube commented Apr 18, 2024

Supercedes #781

Fixes a regression added in #754

Previously, the search bar and header were lined up with the arrow on dictionary listings to indicate the selected listing. This looks horrible on small screens due to the search bar being exactly on the edge of the screen on the left side.

Now, the search bar and header line up with the dictionary listings themselves instead of having a negative offset.

@Kuuuube Kuuuube requested a review from a team as a code owner April 18, 2024 20:14
@Kuuuube Kuuuube added kind/bug The issue or PR is regarding a bug area/ui-ux The issue or PR is related to UI/UX/Design labels Apr 18, 2024
Copy link

✔️ No visual differences introduced by this PR.

View Playwright Report (note: open the "playwright-report" artifact)

Copy link
Member

@MarvNC MarvNC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm it fixes the issue, thanks

@jamesmaa jamesmaa added this pull request to the merge queue Apr 19, 2024
Merged via the queue into themoeway:master with commit 8b38493 Apr 19, 2024
10 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Apr 21, 2024
* rework text processors

* rename text-preprocessors file

* Fix search header left margins on small screens (#839)

* Refocuses search input on backspace (#840)

Fixes #775. Note that this behavior gets overridden if backspace is set
as a shortcut action.

* Change hotkey triggering condition to account for IME usage (#837)

_isKeyCharacterInput only worked when not using an IME, as inside of an
IME when a keydown event is fired, the key is reported as "Process",
which does not have a key.length equal to 1. This resulted in hotkeys
being triggered while typing, which this commit fixes.

---------

Co-authored-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: Andrew Thomas Sartor <andrew@sartor.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-ux The issue or PR is related to UI/UX/Design kind/bug The issue or PR is regarding a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants