1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Prevent menu link wrapping #587

This commit is contained in:
Patrik J. Braun 2023-08-07 22:39:50 +02:00
parent 3768cc3a75
commit 6f5031f29d

View File

@ -87,12 +87,12 @@
<div class="py-md-1 px-md-0"
*ngFor="let s of contents;"
[hidden]="!s.HasAvailableSettings">
<button class="btn btn-link nav-link text-start p-0"
<button class="btn btn-link nav-link text-start p-0 text-nowrap"
(click)="viewportScroller.scrollToAnchor(s.ConfigPath)"
>
<span class="oi oi-{{s.icon}}"></span> {{s.Name}}
</button>
<button class="btn btn-link nav-link text-start ms-3 p-0"
<button class="btn btn-link nav-link text-start ms-3 p-0 text-nowrap"
*ngFor="let n of s.nestedConfigs;"
[hidden]="!n.visible()"
(click)="viewportScroller.scrollToAnchor(n.id)">