Fix tooltip text overflow in some languages

This commit is contained in:
natsoni 2024-04-18 11:09:28 +02:00
parent c2d649d3f4
commit 89ef5fe33d
No known key found for this signature in database
GPG key ID: C65917583181743B
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
padding: 10px 15px;
text-align: left;
min-width: 340px;
max-width: 340px;
max-width: 400px;
pointer-events: none;
z-index: 11;
@ -41,7 +41,7 @@ th, td {
flex-wrap: wrap;
row-gap: 0.25em;
margin-top: 0.2em;
max-width: 100%;
max-width: 310px;
.badge {
border-radius: 0.2rem;

View file

@ -98,6 +98,6 @@ export class BlockOverviewTooltipComponent implements OnChanges {
}
getTooltipLeftPosition(): string {
return window.innerWidth < 392 ? '-40px' : this.tooltipPosition.x + 'px';
return window.innerWidth < 392 ? '-50px' : this.tooltipPosition.x + 'px';
}
}