Skip to content

Toolbar: set input size to "1"#417

Merged
warpdesign merged 1 commit into
masterfrom
toolbar-fix-resize-overflow
Mar 10, 2023
Merged

Toolbar: set input size to "1"#417
warpdesign merged 1 commit into
masterfrom
toolbar-fix-resize-overflow

Conversation

@warpdesign
Copy link
Copy Markdown
Owner

@warpdesign warpdesign commented Mar 10, 2023

On a text input, the size sets the min width of the element so we set it to the minimum value so that the input can shrink a lot more.

Note that this only mitigates the problem: because of the right padding of 30px, there is still a little bit of overflow when the window is tiny but it's acceptable since the UI is not usable at this size anyway.

Fixes #370

On a text input, the size sets the min width of the element so we set it to the
minimum value so that the input can shrink a lot more.

Note that this only mitigates the problem: because of the right padding of 30px,
there is still a little bit of overflow when the window is tiny.
@warpdesign warpdesign merged commit 16700cd into master Mar 10, 2023
@warpdesign warpdesign deleted the toolbar-fix-resize-overflow branch March 10, 2023 10:58
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.

View toolbars overlap if window is too small

1 participant