Skip to content

Commit 498015f

Browse files
hocheung-chromiumDevtools-frontend LUCI CQ
authored andcommitted
[RPP Observations] Constrain local field link click target to content width
Set `display: inline-block` and `width: fit-content` on .local-field-link to prevent accidental clicks on whitespace by matching hit area to text width. Bug:404513462 TEST:Compile Chromium to verify Change-Id: I386538371e6f431df8c990bcc981b0f8ffb163fd Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6370785 Reviewed-by: Adam Raine <[email protected]> Reviewed-by: Jack Franklin <[email protected]> Commit-Queue: Jack Franklin <[email protected]>
1 parent efd6594 commit 498015f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

front_end/panels/timeline/components/liveMetricsView.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@
131131
}
132132

133133
.local-field-link {
134+
display: inline-block;
135+
width: fit-content;
134136
margin-top: 8px;
135137
}
136138

0 commit comments

Comments
 (0)