Skip to content

Commit 08c452a

Browse files
jackfranklinDevtools-frontend LUCI CQ
authored andcommitted
Ensure toolbar items use the default cursor.
This ensures that toolbars with custom cursors (e.g. resizeable ones) do not have their cursor also applied when the user hovers over an individual toolbar item. testing Fixed: 371838044 Change-Id: Ibcf7a8a837540cb3d940067eb9430f706674c219 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6142896 Auto-Submit: Jack Franklin <[email protected]> Reviewed-by: Andres Olivares <[email protected]> Commit-Queue: Andres Olivares <[email protected]>
1 parent 5a855b1 commit 08c452a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

front_end/ui/legacy/toolbar.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@
5050
white-space: pre;
5151
overflow: hidden;
5252
max-width: 100%;
53+
54+
/* Some toolbars have a different cursor on hover (for example, resizeable
55+
* ones which can be clicked + dragged to move). But we want to make sure
56+
* by default each toolbar item shows the default cursor, because you
57+
* cannot click + drag on the item to resize the toolbar container, you
58+
* have to click + drag only on empty space. See crbug.com/371838044 for
59+
* an example. */
60+
cursor: default;
5361
}
5462

5563
devtools-adorner.fix-perf-icon {

0 commit comments

Comments
 (0)