Skip to content

Commit

Permalink
"Alterar cor de Título e descrição
Browse files Browse the repository at this point in the history
  • Loading branch information
RaissaAndradeS committed Dec 8, 2023
1 parent 831fac3 commit 1fb5f6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/pages/video-viewer/video-viewer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,28 @@
</div>
<div class="flex justify-center flex-col gap-6 p-3 m-3">
<div class="max-w-full justify-start max-h-full flex">
<h4 class="font-custom font-bold">
<h4 class="font-custom font-bold text-gray-800">
{{ video.title }}
</h4>
</div>
<div class="max-w-full max-h-full flex text-[12px] font-custom">
<div class="max-w-full max-h-full flex text-[12px] font-custom text-gray-800">
<div>
<span
*ngIf="!showDescription && videoDescription.length > characterLimit"
class="clamped-description"
class="clamped-description text-gray-800"
[innerHTML]="videoDescription"
></span>
<button
*ngIf="!showDescription && videoDescription.length > characterLimit"
class="font-bold"
class="font-bold text-gray-800"
(click)="expandDescription()"
>
Mostrar
</button>

<span *ngIf="showDescription" [innerHTML]="videoDescription"></span>
<div *ngIf="showDescription">
<button class="font-bold" (click)="expandDescription()">
<button class="font-bold text-gray-800" (click)="expandDescription()">
Mostrar menos
</button>
</div>
Expand Down

0 comments on commit 1fb5f6c

Please sign in to comment.