fix(web): tighten the composer on narrow screens - #15
Open
Antisophy wants to merge 1 commit into
Open
Conversation
The composer keeps its desktop spacing on a phone, where it takes a noticeable slice of the screen: 12px/16px around the box, 10px/14px inside the textarea, and buttons padded 10px/20px. Halve that below 768px and give the buttons equal padding on all sides. The textarea's 40px floor is one line's worth at the full padding, so it drops to 30px to match; left alone it would hold open roughly ten pixels of dead space under a single line, disappearing only once wrapping outgrew the floor.
Contributor
Author
|
One of five independent changes for using cydo on a phone, split apart so each can be judged on its own:
They touch different code and can merge in any order. #15 and #17 both add rules inside the same |
This was referenced Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The composer keeps its desktop spacing on a phone, where it takes a noticeable slice of the screen: 12px/16px around the box, 10px/14px inside the textarea, and buttons padded 10px/20px.
This halves that below 768px and gives the composer's buttons equal padding on all sides.
The textarea's
min-height: 40pxis one line's worth at the full padding, so it drops to 30px to match. Left alone it holds open roughly ten pixels of dead space under a single line, which disappears only once word wrap outgrows the floor, so the box looks correct while typing a long message and wrong while typing a short one.Nothing outside the
max-width: 768pxblock changes, so desktop layout is untouched.