Skip to content

Commit d9340d8

Browse files
ktranDevtools-frontend LUCI CQ
authored andcommitted
Use text cursor in placeholders for toolbar inputs
With https://crrev.com/c/6157257 the toolbar css styles were moved to inspectorCommon.css, which now takes precedent over the textPrompt.css. As a result, the cursor was changed to a mouse cursor on hovering the text placeholder in toolbar inputs. This CL adapts the toolbar css styles to correctly reflect text cursors when hovering over placeholders (which are always text). Before: https://i.imgur.com/jWL094b.png After: https://i.imgur.com/Kl9FwCI.png Fixed: 399057160 Change-Id: Ic345a43d7b47cdee1ea1884c9311eed83e5f84df Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6308732 Commit-Queue: Simon Zünd <[email protected]> Auto-Submit: Kim-Anh Tran <[email protected]> Reviewed-by: Simon Zünd <[email protected]>
1 parent 6e5339a commit d9340d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front_end/ui/legacy/inspectorCommon.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ devtools-toolbar {
10051005
flex: 1;
10061006
overflow: hidden;
10071007
white-space: nowrap;
1008-
cursor: auto;
1008+
cursor: text;
10091009
color: var(--sys-color-on-surface);
10101010
}
10111011
/* Separator */

0 commit comments

Comments
 (0)