Skip to content

Commit

Permalink
core: improve responsiveness of input fields (#12604)
Browse files Browse the repository at this point in the history
The commit improves the responsiveness of input fields when resizing by including ellipsis when overflowing which is consistent in behavior with the rest of the application, and vscode. The changes are global to all text input fields.

Signed-off-by: Vlad Arama <[email protected]>
  • Loading branch information
vladarama authored Jun 14, 2023
1 parent fbb02df commit 7c230ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/core/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,17 @@ blockquote {
padding-left: 5px;
}

.theia-input[type="text"] {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.theia-input::placeholder {
color: var(--theia-input-placeholderForeground);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.theia-maximized {
Expand Down

0 comments on commit 7c230ec

Please sign in to comment.