mobile style enhanchement

This commit is contained in:
2020-03-22 17:04:18 +01:00
committed by smuddy
parent 760964fb69
commit 49e51f015e
5 changed files with 15 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
<mat-checkbox [(ngModel)]="showText">Text anzeigen</mat-checkbox>
<div *ngIf="showSongs && songs" class="song-list">
<app-song *ngFor="let song of showSongs"
<app-song *ngFor="let song of showSongs" class="song-row"
[showId]="showId"
[showSong]="song"
[showSongs]="showSongs"

View File

@@ -5,3 +5,9 @@
width: 100%;
}
}
.song-row:not(:last-child) {
display: block;
border-bottom: 1px solid #0002;
}

View File

@@ -1,4 +1,4 @@
<div *ngIf="_song" class="row">
<div *ngIf="_song">
<div class="song">
<app-menu-button (click)="reorder(true)" [icon]="faUp" class="btnUp"></app-menu-button>
<app-menu-button (click)="reorder(false)" [icon]="faDown" class="btnDown"></app-menu-button>

View File

@@ -1,6 +1,4 @@
.row {
border-bottom: 1px solid #ccc;
}
.song {

View File

@@ -54,7 +54,12 @@
.section {
margin-bottom: 20px;
border-left: 3px solid #ddd;
@media screen and (max-width: 860px) {
margin-bottom: 10px;
}
border-left: 3px solid #0002;
padding-left: 5px;
margin-left: -8px;
}
.chorus {