Skip to content

Commit 0268516

Browse files
authored
Hide platform number if screen too small (#317)
1 parent aaa6b12 commit 0268516

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

DepartureBoardWeb/ClientApp/src/app/Components/departure-scroller/departure-scroller.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ <h1 class="led col-md-1 col-sm-12 clickable" (click)="changeDeparture()" [ngStyl
44
</h1>
55
<h1 class="led col-md-1 col-sm-12" [ngStyle]="{'font-size': fontSize}">{{ currentTime | date: "HH:mm" }}</h1>
66
<h1
7-
class="led col-md-1 col-sm-12 clickable"
7+
class="led col-lg-1 d-lg-block d-md-none col-sm-12 clickable "
88
[ngStyle]="{'font-size': fontSize}"
99
(click)="FilterPlatform(currentPlatform)"
1010
>
1111
{{ showPlatforms ? currentPlatform : '' }}
1212
</h1>
1313
<h1
14-
class="led col-md-7 col-sm-12 clickable"
14+
class="led col-lg-7 col-md-8 col-sm-12 clickable"
1515
[ngStyle]="{'font-size': fontSize}"
1616
(click)="ChangeStation(currentDestination)"
1717
>

DepartureBoardWeb/ClientApp/src/app/Pages/singleboard/singleboard.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ <h1 id="title" class="led centre-text" *ngIf="showStationName">
77
<h1 class="led col-md-1 col-sm-12" *ngIf="firstTime" [ngStyle]="{'font-size': fontSize}">1st</h1>
88
<h1 class="led col-md-1 col-sm-12" [ngStyle]="{'font-size': fontSize}">{{firstTime | date: 'HH:mm'}}</h1>
99
<h1
10-
class="led col-md-1 col-sm-12 clickable"
10+
class="led col-lg-1 d-lg-block d-md-none col-sm-12 clickable"
1111
[ngStyle]="{'font-size': fontSize}"
1212
(click)="FilterPlatform(firstPlatform)"
1313
>
1414
{{showPlatforms ? firstPlatform : ''}}
1515
</h1>
1616
<h1
17-
class="led col-md-7 col-sm-12 clickable"
17+
class="led col-lg-7 col-md-8 col-sm-12 clickable"
1818
[ngStyle]="{'font-size': fontSize}"
1919
(click)="ChangeStation(firstDestination)"
2020
>

0 commit comments

Comments
 (0)