Fix pickaxe disappearing on certain desktop viewports

This commit is contained in:
hunicus
2025-04-16 09:53:19 -04:00
parent f218ff26ab
commit e58d0e6df0
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@
</a>
</li>
<li class="nav-item mining" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}" id="btn-pools" *ngIf="stateService.env.MINING_DASHBOARD">
<a class="nav-link" [routerLink]="['/mining' | relativeUrl]" (click)="collapse()"><div class="svg-wrapper"><app-svg-images name="pickaxe"></app-svg-images></div></a>
<a class="nav-link" [routerLink]="['/mining' | relativeUrl]" (click)="collapse()"><div class="svg-wrapper"><app-svg-images name="pickaxe" width="21.59" height="100%"></app-svg-images></div></a>
</li>
<li class="nav-item" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}" id="btn-lightning" *ngIf="stateService.networkSupportsLightning()">
<a class="nav-link" [routerLink]="['/lightning' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'bolt']" [fixedWidth]="true" i18n-title="master-page.lightning" title="Lightning Explorer"></fa-icon>

View File

@@ -1,6 +1,6 @@
<ng-container [ngSwitch]="name">
<ng-container *ngSwitchCase="'pickaxe'">
<svg width="auto" height="100%" viewBox="0 0 576 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg [attr.width]="width" [attr.height]="height" viewBox="0 0 576 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<g [attr.clip-path]="'url(#clip0_2356_1491' + randomId + ')'">
<path d="M265.74 166.74C267.678 165.026 268.535 159.385 281.735 170.555C293.056 180.134 318.746 203.74 327.461 212.126C344.206 228.239 341.274 231.972 337.7 235.106L133.738 465.761C59.2582 550.625 -51.0751 436.245 37.7716 362.483L265.74 166.74Z" fill="#F1F1F1"/>
<path d="M488.149 346.553C460.764 313.433 399.426 236.909 342.297 183.489C285.168 130.069 193.845 63.1392 159.062 38.1292C144.394 27.5833 159.948 -3.96937 181.477 0.38182C222.567 8.797 284.179 18.2044 344.399 64.8944C360.217 77.1485 371.668 48.3079 386.741 62.3844L441.344 111.176C456.589 125.414 428.859 138.811 441.087 153.956C486.083 209.686 497.252 249.426 526.14 318.036C537.152 350.914 500.974 362.048 488.149 346.553Z" fill="#F1F1F1"/>