Skip to content

Commit

Permalink
[GM3Restyling] Fix focus ring for button links in stack previews.
Browse files Browse the repository at this point in the history
Drive-by-fix: Also fix the incorrect background color for text
buttons used as links here.

Fixed: 378822139
Screenshot: https://i.imgur.com/FUQdHF0.png
Change-Id: I1219645b5dbb8ce0d7e15e348e17024bfdbf79b1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6017877
Reviewed-by: Kim-Anh Tran <[email protected]>
Auto-Submit: Benedikt Meurer <[email protected]>
Commit-Queue: Kim-Anh Tran <[email protected]>
  • Loading branch information
bmeurer authored and Devtools-frontend LUCI CQ committed Nov 14, 2024
1 parent f030763 commit 92c6ecf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions front_end/ui/legacy/components/utils/jsUtils.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@
overflow: hidden;
text-overflow: ellipsis;
padding-inline: 2px;

&.link {
overflow: visible;

& > button.text-button.devtools-link {
background-color: inherit;
}
}
}

&.width-constrained {
Expand Down

0 comments on commit 92c6ecf

Please sign in to comment.