Fleet UI: Safari hack to be able to triple click tooltip (#9466)

This commit is contained in:
RachelElysia 2023-01-24 10:04:47 -05:00 committed by GitHub
parent 357c0484fc
commit d9165084eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -55,7 +55,11 @@ const TruncatedTextCell = ({
clickable
delayHide={200} // need delay set to hover using clickable
>
{value}
<>
{value}
<div className="safari-hack">&nbsp;</div>
{/* Fixes triple click selecting next element in Safari */}
</>
</ReactTooltip>
</div>
);

View File

@ -27,6 +27,10 @@
overflow-wrap: break-word;
display: block;
white-space: pre-wrap;
.safari-hack {
height: 0px;
}
}
@media (min-width: $break-990) {