Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix menu button auto font size

Chocobozzz5efbbcbeb1a2
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index 5fdc6b438b..cc57301cd6 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -54,7 +54,11 @@
<ul class="ul-unstyle">
<li *ngFor="let link of menuSection.links">
@if (link.isPrimaryButton === true) {
- <my-button class="d-block menu-button" [ngClass]="link.ngClass" theme="primary" [icon]="link.icon" [title]="link.label" [ptRouterLink]="link.path" [ptQueryParams]="link.query" [href]="link.url">
+ <my-button
+ class="d-block menu-button" [ngClass]="link.ngClass" theme="primary" [icon]="link.icon"
+ [title]="link.label" [ptRouterLink]="link.path" [ptQueryParams]="link.query" [href]="link.url"
+ autoFontSize="true"
+ >
@if (!collapsed) {
{{ link.label }}
}