Fix some mobile UI issues on mining dashboard
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<td class="pool text-left" [class]="widget ? 'widget' : ''">
|
||||
<div class="tooltip-custom">
|
||||
<a class="clear-link" [routerLink]="['/mining/pool' | relativeUrl, block.extras.pool.slug]">
|
||||
<img width="25" height="25" src="{{ block.extras.pool['logo'] }}"
|
||||
<img width="23" height="23" src="{{ block.extras.pool['logo'] }}"
|
||||
onError="this.src = './resources/mining-pools/default.svg'">
|
||||
<span class="pool-name">{{ block.extras.pool.name }}</span>
|
||||
</a>
|
||||
@@ -64,7 +64,7 @@
|
||||
<span class="skeleton-loader"></span>
|
||||
</td>
|
||||
<td class="pool text-left" [class]="widget ? 'widget' : ''">
|
||||
<img width="0" height="25" style="opacity: 0">
|
||||
<img width="25" height="25" style="opacity: 0">
|
||||
<span class="skeleton-loader"></span>
|
||||
</td>
|
||||
<td class="timestamp" *ngIf="!widget">
|
||||
@@ -96,4 +96,4 @@
|
||||
</ngb-pagination>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
td {
|
||||
padding-top: 0.7rem !important;
|
||||
padding-bottom: 0.7rem !important;
|
||||
@media (max-width: 376px) {
|
||||
padding-top: 0.73rem !important;
|
||||
padding-bottom: 0.73rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.clear-link {
|
||||
@@ -35,8 +39,7 @@ td {
|
||||
.pool.widget {
|
||||
width: 40%;
|
||||
padding-left: 30px;
|
||||
@media (max-width: 576px) {
|
||||
padding-left: 40px;
|
||||
@media (max-width: 376px) {
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user