Skip to content

Commit

Permalink
fixed matching tunes
Browse files Browse the repository at this point in the history
  • Loading branch information
hwellmann committed Aug 1, 2024
1 parent 481cf1d commit b19c7f9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/app/component/match/matcher.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ <h2 class="mat-h2">Matching tunes</h2>

<mat-list class="tune-list">
<mat-list-item *ngFor="let tune of tunes">
<div matLine>
<div class="tune-item">
<a class="tune-link md-accent" href="https://thesession.org/tunes/{{tune.tune}}#setting{{tune.setting}}" target="thesession">{{title(tune)}}</a>
<div class="mat-small">{{getRhythmAndKey(tune)}}</div>
</div>
<div class="confidence">
{{confidencePercentage(tune)}} %
</div>
</div>
</mat-list-item>
</mat-list>
16 changes: 14 additions & 2 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ mat-sidenav mat-icon {
display: inline-block;
}

div.tune-item {
display: inline-block;
width: 400px;
}

div.confidence {
display: inline-block;
vertical-align: top;
}


.tunebook-link {
font-size: 120%;
Expand Down Expand Up @@ -197,18 +207,20 @@ a.tune-link:link, a.tune-link:visited, a.tune-link:hover, a.tune-link:active {
color: black;
}

/*
div.tune-item {
width: 290px;
margin-right: 10px;
}
*/

div.main-content {
margin-bottom: 80px;
}

h1.irish {
font-family: 'Irish Uncialfabeta';
font-size: 24px;
font-family: 'Irish Uncialfabeta' !important;
font-size: 24px !important;
}

button.pdf-button {
Expand Down

0 comments on commit b19c7f9

Please sign in to comment.