Skip to content

Commit

Permalink
Fixed html-ts doc buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Oct 11, 2023
1 parent 3d19f32 commit ad3d193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/showcase/layout/doc/code/app.code.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<div class="flex surface-card align-items-center justify-content-end absolute z-2" style="right: .75rem; top: .75rem; gap: .75rem">
<div class="flex align-items-center gap-2" *ngIf="fullCodeVisible">
<button *ngIf="code.html" pButton label="HTML" (click)="changeLang('html')"
class="p-button-rounded w-3rem p-button-text p-button-plain p-0 inline-flex align-items-center justify-content-center"
class="py-0 px-2 h-2rem p-button-text p-button-plain p-0 inline-flex align-items-center justify-content-center"
[ngClass]="{'doc-section-code-active text-primary':lang === 'html'}">
</button>

<button *ngIf="code.typescript" pButton label="TypeScript" (click)="changeLang('typescript')"
class="p-button-rounded w-5rem p-button-text p-button-plain p-0 inline-flex align-items-center justify-content-center"
class="py-0 px-2 h-2rem p-button-text p-button-plain inline-flex align-items-center justify-content-center"
[ngClass]="{'doc-section-code-active text-primary':lang === 'typescript'}">
</button>

Expand Down

1 comment on commit ad3d193

@vercel
Copy link

@vercel vercel bot commented on ad3d193 Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.