Skip to content

Commit 1f4636b

Browse files
Kateryna ProkopenkoDevtools-frontend LUCI CQ
authored andcommitted
[GM3Restyling] Polish disabled toolbar item select combobox
This fixes the combobox being clickable in the disabled state and adjust opacity for the same Fixed: 376169512 Change-Id: Ie4e907d49055f8b7cd92a4f63a9f1e921a85e992 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5979754 Reviewed-by: Kim-Anh Tran <[email protected]> Commit-Queue: Kim-Anh Tran <[email protected]> Auto-Submit: Kateryna Prokopenko <[email protected]>
1 parent 47b1190 commit 1f4636b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

front_end/ui/legacy/toolbar.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,9 @@ select.toolbar-item {
331331
height: var(--sys-size-9);
332332
border-radius: var(--sys-shape-corner-extra-small);
333333

334-
&:disabled,
335-
&:disabled:hover,
336-
&:disabled:active,
337-
&:disabled:hover:active {
334+
&:disabled {
335+
opacity: 100%;
336+
pointer-events: none;
338337
background-color: var(--sys-color-state-disabled-container);
339338
color: var(--sys-color-state-disabled);
340339

0 commit comments

Comments
 (0)