Skip to content

Commit 81bf552

Browse files
ergunshDevtools-frontend LUCI CQ
authored andcommitted
[PatchWidget] Make info tooltip triggered by icon button
Another UI review bug from Peter. Bug: none Change-Id: Ie2b16d1344b7627dfc59a883ee09b5cf8cae272b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6351919 Auto-Submit: Ergün Erdoğmuş <[email protected]> Reviewed-by: Nikolay Vitkov <[email protected]> Commit-Queue: Ergün Erdoğmuş <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]>
1 parent 14b70f5 commit 81bf552

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

front_end/panels/ai_assistance/PatchWidget.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,11 @@ export class PatchWidget extends UI.Widget.Widget {
290290
.variant=${Buttons.Button.Variant.OUTLINED}>
291291
${lockedString(UIStringsNotTranslate.cancel)}
292292
</devtools-button>` : nothing}
293-
<devtools-icon aria-describedby="info-tooltip" .name=${'info'}></devtools-icon>
293+
<devtools-button
294+
aria-details="info-tooltip"
295+
.iconName=${'info'}
296+
.variant=${Buttons.Button.Variant.ICON}
297+
></devtools-button>
294298
<devtools-tooltip variant="rich" id="info-tooltip" ${Directives.ref(output.tooltipRef)}>
295299
<div class="info-tooltip-container">
296300
${lockedString(UIStringsNotTranslate.applyToWorkspaceTooltip)}

0 commit comments

Comments
 (0)