mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 02:11:49 +01:00
fix graph page links layout
This commit is contained in:
parent
30396c5dca
commit
9883e59f12
@ -12,19 +12,13 @@
|
||||
|
||||
<form [formGroup]="radioGroupForm" class="formRadioGroup"
|
||||
[class]="(stateService.env.MINING_DASHBOARD || stateService.env.LIGHTNING) ? 'mining' : 'no-menu'" (click)="saveGraphPreference()">
|
||||
<div *ngIf="!isMobile()" class="btn-group btn-group-toggle">
|
||||
<label class="btn btn-primary btn-sm mr-2">
|
||||
<a [routerLink]="['/tv' | relativeUrl]" style="color: white" id="btn-tv">
|
||||
<fa-icon [icon]="['fas', 'tv']" [fixedWidth]="true" i18n-title="master-page.tvview" title="TV view"></fa-icon>
|
||||
</a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="btn-group btn-group-toggle">
|
||||
<label class="btn btn-primary btn-sm mr-2">
|
||||
<a [routerLink]="['/clock/mined/0' | relativeUrl]" style="color: white" id="btn-tv">
|
||||
<fa-icon [icon]="['fas', 'clock']" [fixedWidth]="true" i18n-title="master-page.clockview" title="Clock view"></fa-icon>
|
||||
</a>
|
||||
</label>
|
||||
<div class="small-buttons">
|
||||
<a class="btn btn-primary btn-sm mb-0" [routerLink]="['/clock/mined/0' | relativeUrl]" style="color: white" id="btn-clock">
|
||||
<fa-icon [icon]="['fas', 'clock']" [fixedWidth]="true" i18n-title="master-page.clockview" title="Clock view"></fa-icon>
|
||||
</a>
|
||||
<a *ngIf="!isMobile()" class="btn btn-primary btn-sm mb-0" [routerLink]="['/tv' | relativeUrl]" style="color: white" id="btn-tv">
|
||||
<fa-icon [icon]="['fas', 'tv']" [fixedWidth]="true" i18n-title="master-page.tvview" title="TV view"></fa-icon>
|
||||
</a>
|
||||
</div>
|
||||
<div class="btn-group btn-group-toggle" name="radioBasic">
|
||||
<label class="btn btn-primary btn-sm" [class.active]="radioGroupForm.get('dateSpan').value === '2h'">
|
||||
|
@ -150,17 +150,30 @@
|
||||
margin: 0px 0px;
|
||||
}
|
||||
.btn {
|
||||
width: 49.25%;
|
||||
width: 50%;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
margin: 1px 0;
|
||||
margin-right: 0.5rem;
|
||||
@media (min-width: 830px) {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
margin-right: 0;
|
||||
@media (min-width: 830px) {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown {
|
||||
width: 49.25%;
|
||||
display: flex;
|
||||
width: 50%;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
@media (min-width: 830px) {
|
||||
width: auto;
|
||||
margin: 0px 5px;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
}
|
||||
#dropdownFees {
|
||||
|
Loading…
Reference in New Issue
Block a user