Skip to content

Commit

Permalink
Switch focus from speaker to subject
Browse files Browse the repository at this point in the history
  • Loading branch information
csaudiodesign committed Dec 9, 2023
1 parent 4700317 commit 4eb254c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mitwelten-datawalk",
"version": "0.6.5",
"version": "0.6.6",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
5 changes: 2 additions & 3 deletions src/app/components/audio-text/audio-text.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@

.speaker {
font-weight: bold;
font-size: 1.2rem;
}
.function {
font-size: 1.2rem;
color: #777;
}
.function::before {
Expand All @@ -75,7 +73,8 @@
display: block;
max-width: 100%;
padding: 0 16px;
margin-top: 16px;
margin: 8px 0 16px 0;
font-size: 1.2rem;
}

@media (orientation: landscape) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/audio-text/audio-text.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<img [src]="hotspot?.portraitUrl" alt="Audio Text Portrait" id="portrait">

<div class="info">
<span *ngIf="hotspot?.contentSubject" class="subject">{{hotspot?.contentSubject}}</span>
<span *ngIf="hotspot?.speakerName" class="speaker">{{hotspot?.speakerName}}</span>
<span *ngIf="hotspot?.speakerFunction" class="function">{{hotspot?.speakerFunction}}</span>
<span *ngIf="hotspot?.contentSubject" class="subject">{{hotspot?.contentSubject}}</span>
</div>

<mat-toolbar class="footer">
Expand Down

0 comments on commit 4eb254c

Please sign in to comment.