Message content
This commit is contained in:
parent
8401df2444
commit
d82f107ae9
@ -103,8 +103,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<p class="note_tag text-center">"Mining in August was on testnet; mainnet launched with an initial money supply of precisely zero units on <span class="font-weight-bold">September 2</span>."
|
<p *ngIf="showContent" class="note_tag text-center">"Mining in August was on testnet; mainnet launched with an initial money supply of precisely zero units on <span class="font-weight-bold">September 2</span>."
|
||||||
<span class="float-right font-weight-bold">X</span>
|
<span (click)="removeText()" class="float-right font-weight-bold">X</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div *ngIf="TimeArr" class="d-sm-none text-center">
|
<div *ngIf="TimeArr" class="d-sm-none text-center">
|
||||||
|
@ -11,6 +11,7 @@ import { HttpParams } from '@angular/common/http';
|
|||||||
})
|
})
|
||||||
export class HeaderComponent implements OnInit {
|
export class HeaderComponent implements OnInit {
|
||||||
TimeArr: any;
|
TimeArr: any;
|
||||||
|
showContent=true;
|
||||||
constructor(
|
constructor(
|
||||||
@Inject(DOCUMENT) private document: Document,
|
@Inject(DOCUMENT) private document: Document,
|
||||||
private chartService: ChartService,
|
private chartService: ChartService,
|
||||||
@ -42,4 +43,8 @@ export class HeaderComponent implements OnInit {
|
|||||||
public ChangeTheme() {
|
public ChangeTheme() {
|
||||||
this.document.body.classList.toggle('dark_theme');
|
this.document.body.classList.toggle('dark_theme');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public removeText(){
|
||||||
|
this.showContent=0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1393,6 +1393,7 @@ export class GraphListComponent implements OnInit {
|
|||||||
tickformat: '%m-%d',
|
tickformat: '%m-%d',
|
||||||
rangemode: 'nonnegative',
|
rangemode: 'nonnegative',
|
||||||
fixedrange: true,
|
fixedrange: true,
|
||||||
|
tickangle: -45,
|
||||||
tick0:Tdate[0],
|
tick0:Tdate[0],
|
||||||
dtick: dtickval
|
dtick: dtickval
|
||||||
},
|
},
|
||||||
|
@ -805,4 +805,7 @@ body.dark_theme {
|
|||||||
transform: scale3D(0, 0, 1);
|
transform: scale3D(0, 0, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.note_tag{background: #bf9b30; position: fixed; width: 100%; bottom: 0; padding: 10px; color: #fff; z-index: 2; margin: 0;}
|
.note_tag{background: #bf9b30; position: fixed; width: 100%; bottom: 0; padding: 10px; color: #fff; z-index: 2; margin: 0;}
|
||||||
|
.note_tag span{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user