Fix tooltip.
This commit is contained in:
Родитель
cff14e7563
Коммит
d88e730f1c
|
@ -143,7 +143,9 @@ export function renderPathCell(result: Result) {
|
|||
})}
|
||||
</div>,
|
||||
() => <div className="flex-row scroll-hidden">{/* From Advanced table demo. */}
|
||||
<TooltipSpan overflowOnly={true} text={href ?? uri}>
|
||||
{/* Since we don't know when the ellipsis text is in effect, thus TooltipSpan.overflowOnly=false/default */}
|
||||
{/* Consider overflowOnly=false for the other branch above. */}
|
||||
<TooltipSpan text={href ?? uri}>
|
||||
{tryLink(
|
||||
getHref,
|
||||
uriWithEllipsis,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/sarif-web-component",
|
||||
"version": "0.6.0-11",
|
||||
"version": "0.6.0-12",
|
||||
"author": "Microsoft",
|
||||
"description": "Sarif Viewer",
|
||||
"license": "MIT",
|
||||
|
|
Загрузка…
Ссылка в новой задаче