report: add tooltip to qualify stackpack recommendations
This commit is contained in:
Родитель
947366df49
Коммит
5555243592
|
@ -92,6 +92,7 @@ export class CategoryRenderer {
|
||||||
const snippets = this.dom.convertMarkdownLinkSnippets(pack.description);
|
const snippets = this.dom.convertMarkdownLinkSnippets(pack.description);
|
||||||
const packElm = this.dom.createElement('div', 'lh-audit__stackpack');
|
const packElm = this.dom.createElement('div', 'lh-audit__stackpack');
|
||||||
packElm.append(packElmImg, snippets);
|
packElm.append(packElmImg, snippets);
|
||||||
|
packElm.title = `Recommendation specific to ${pack.title} detected on the page`;
|
||||||
|
|
||||||
this.dom.find('.lh-audit__stackpacks', auditEl)
|
this.dom.find('.lh-audit__stackpacks', auditEl)
|
||||||
.append(packElm);
|
.append(packElm);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче