mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Fix tooltip text overflow in some languages
This commit is contained in:
parent
c2d649d3f4
commit
89ef5fe33d
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue