Make tooltip style looks bigger

This commit is contained in:
Miguel Medeiros 2021-10-07 16:19:57 -03:00
parent fa2d2e60b5
commit f66e0a2c12
No known key found for this signature in database
GPG Key ID: 819EDEE4673F3EBB
2 changed files with 5 additions and 4 deletions

View File

@ -163,7 +163,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
trigger: 'axis', trigger: 'axis',
alwaysShowContent: false, alwaysShowContent: false,
position: (pos, params, el, elRect, size) => { position: (pos, params, el, elRect, size) => {
const positions = { top: (this.template === 'advanced') ? 30 : -30 }; const positions = { top: (this.template === 'advanced') ? 0 : -30 };
positions[['left', 'right'][+(pos[0] < size.viewSize[0] / 2)]] = 60; positions[['left', 'right'][+(pos[0] < size.viewSize[0] / 2)]] = 60;
return positions; return positions;
}, },

View File

@ -453,7 +453,7 @@ html:lang(ru) .card-title {
.fees-wrapper-tooltip-chart-advanced, .fees-wrapper-tooltip-chart-advanced,
.tx-wrapper-tooltip-chart-advanced { .tx-wrapper-tooltip-chart-advanced {
background: rgba(#1d1f31, 0.98); background: rgba(#1d1f31, 0.98);
width: 250px; width: 275px;
thead { thead {
th { th {
@ -470,11 +470,12 @@ html:lang(ru) .card-title {
margin-bottom: 5px; margin-bottom: 5px;
} }
.item { .item {
line-height: 1; line-height: 1.25;
font-size: 11px;
.value { .value {
width: 60px; width: 60px;
.symbol { .symbol {
font-size: 10px !important; font-size: 9px !important;
} }
} }
.total-partial { .total-partial {