Display emoji with larger font size

This commit is contained in:
SondreB 2023-01-16 12:07:46 +01:00
parent 77b79301cf
commit 8cfb969897
No known key found for this signature in database
GPG Key ID: D6CC44C75005FDBF
2 changed files with 8 additions and 1 deletions

View File

@ -25,6 +25,13 @@
margin-top: 0.2em;
}
.event-content {
}
.event-content-big {
font-size: 3.2em;
}
@media only screen and (max-width: 599px) {
.event-video {
width: 100vw !important;

View File

@ -5,7 +5,7 @@
<div class="event-videos" *ngIf="videos && videos.length > 0">
<iframe id="ytplayer" class="event-video" type="text/html" *ngFor="let video of videos" [src]="video" frameborder="0"></iframe>
</div>
{{ content }}<span *ngIf="event.contentCut">... (message was truncated)</span>
<span class="event-content" [ngClass]="{ 'event-content-big': content && content.length < 3 }">{{ content }}</span><span *ngIf="event.contentCut">... (message was truncated)</span>
<!-- <span class="dimmed">{{ likes(event) }} likes&nbsp;&nbsp;{{ dislikes(event) }} dislikes&nbsp;&nbsp;{{ replies(event) }} replies</span><br /> -->
<ng-template [ngIf]="displayRepliesTo">
<div *ngIf="repliesTo(event) as replies" class="reply-to dimmed clickable">