Repository navigation
reduce and unify padding on text inputs and selects - #18057
Merged
Merged
Conversation
Commit 6904bbc (#17242) added padding: 4px 6px to dialog text inputs and the GWT control rules (.gwt-TextBox/.gwt-ListBox) used padding: 4px / 4px 6px. This read as overly padded, especially in dark themes. Introduce a shared @def CONTROL_PADDING (2px 5px) in themeStyles.css and apply it to the select element, .gwt-TextBox/.gwt-PasswordTextBox/ .gwt-ListBox, and the .gwt-ListBox override, so text inputs and selects share one compact, consistent padding across light and dark themes.
🍎 macOS Desktop E2E · ARM64✅ All tests passed!
📥 Download Playwright report⬇️ playwright-report.zip — extract and open
2 shards · macos-26 ARM64 · commit |
🪟 Windows Desktop E2E · Server 2025 x64✅ All tests passed!
📥 Download Playwright report⬇️ playwright-report.zip — extract and open
2 shards · Windows Server 2025 x64 · commit |
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.
Summary
Text input fields and drop-down (
<select>) controls had grown overlypadded, which read as cramped/heavy especially in dark themes.
Commit 6904bbc (#17242) added
padding: 4px 6pxto dialog textinputs, and the shared GWT control rules used
padding: 4px/padding: 4px 6px. This PR introduces a shared@def CONTROL_PADDING(
2px 5px) inthemeStyles.cssand applies it uniformly to:selectelement rule.gwt-TextBox, .gwt-PasswordTextBox, .gwt-ListBox.gwt-ListBoxoverrideso text inputs and selects share one compact, consistent padding across
light and dark themes.
Notes
cd src/gwt && ant draft(the GWT compile resolves the@defconstant).