Commit 4c8498ac authored by Luciano Pacheco's avatar Luciano Pacheco Committed by Commit Bot

Files app: Reduce search input width to not clash with clear button

Reduce the size of the input inside the <cr-input> to avoid long text to
run over the "clear button".

Bug: 1061311
Change-Id: I281d2388eeadb5001ac35b1b6dca14c301f437fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119340Reviewed-by: default avatarAlex Danilo <adanilo@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Auto-Submit: Luciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753130}
parent c41d9d21
......@@ -1087,6 +1087,7 @@ body.check-select #search-box {
.dialog-header.files-ng #search-box.has-cursor cr-input,
.dialog-header.files-ng #search-box.has-text cr-input,
.dialog-header.files-ng #search-box.hide-pending cr-input {
--cr-input-width: calc(288px - 80px);
width: calc(288px - 60px);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment