Skip to content

Fix unusable textboxes in narrow screens#167

Open
kisaragi-hiu wants to merge 1 commit into
gaois:masterfrom
kisaragi-hiu:fix-narrow-screen-input
Open

Fix unusable textboxes in narrow screens#167
kisaragi-hiu wants to merge 1 commit into
gaois:masterfrom
kisaragi-hiu:fix-narrow-screen-input

Conversation

@kisaragi-hiu

Copy link
Copy Markdown

(This is the best glossary editor I've ever seen, thank you; sorry for suddenly popping up 3 PRs)

On small screens, many text inputs in Terminologue become unusable as they are on the same line as their labels, and their labels assume there is enough space to use a fixed 200-something px width, resulting in the label taking up a bunch of space for nothing while the input is squished to the side.

While IMO ideally this would be fixed with a refactoring away from inline styles towards styles that are easier to override in a media rule, here I've simply tried to apply a few more rules (with liberal use of !important to override inline styles where necessary) so that on narrow screens these inputs are displayed on a second line.

Before After
螢幕截圖_20260623_190012 螢幕截圖_20260623_190053

This just piles on a bunch of rules (which also need to be !important to
override inline styles) to make textboxes and inputs usable.
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

Successfully merging this pull request may close these issues.

1 participant