fix show monitor
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
</button>
|
||||
|
||||
<div [class.offset]="fullscreen" [style.top.px]="offset + 50">
|
||||
<h1 *ngIf="header">{{header}}</h1>
|
||||
<div
|
||||
#section
|
||||
*ngFor="let section of sections; let i = index"
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
.offset {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
|
||||
transition: 1000ms all ease-in-out;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ export type ChordMode = 'show' | 'hide' | 'onlyFirst';
|
||||
})
|
||||
export class SongTextComponent implements OnInit {
|
||||
public sections: Section[] = [];
|
||||
@Input() public header: string | null = null;
|
||||
@Input() public index = -1;
|
||||
@Input() public fullscreen = false;
|
||||
@Input() public showSwitch = false;
|
||||
|
||||
Reference in New Issue
Block a user