Merge branch 'yorkshire-pudding-master-patch-10045' into 'master'

fixes #16 Text selectable in Web Remote Control v0.9.5 2.9.2

Closes #16

See merge request openlp/web-remote!35
This commit is contained in:
Raoul Snyman 2021-03-31 00:36:07 +00:00
commit 96eed0785a
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,3 @@
<mat-card *ngFor="let item of items; let counter = index;" (click)="onItemSelected(item)" [tabindex]="item.id" class="service-item"> <mat-card *ngFor="let item of items; let counter = index;" (click)="onItemSelected(item)" [tabindex]="item.id" class="service-item no-select">
<mat-icon>{{ getIcon(item) }}</mat-icon> {{ item.title }} <mat-icon>{{ getIcon(item) }}</mat-icon> {{ item.title }}
</mat-card> </mat-card>

View File

@ -1,4 +1,4 @@
<mat-card mat-list-item *ngFor="let slide of slides; let counter = index;" (click)="onSlideSelected(counter)" [class.selected]="slide.selected"> <mat-card class="no-select" mat-list-item *ngFor="let slide of slides; let counter = index;" (click)="onSlideSelected(counter)" [class.selected]="slide.selected">
<div class="verse-tag">{{ slide.tag }}</div> <div class="verse-tag">{{ slide.tag }}</div>
<div class="verse-text">{{ slide.text }}</div> <div class="verse-text">{{ slide.text }}</div>
</mat-card> </mat-card>

View File

@ -99,3 +99,7 @@ footer {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.no-select {
user-select: none;
}