Fix feed button

pull/6026/head
Chocobozzz 2023-10-12 14:24:48 +02:00
parent ce3d17388d
commit d3ae2e9c80
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 15 additions and 15 deletions

View File

@ -1,12 +1,12 @@
<button class="feed border-0 p-0" *ngIf="syndicationItems && syndicationItems.length !== 0">
<my-global-icon
role="button" aria-label="Open syndication dropdown" i18n-aria-label
*ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom left auto"
class="icon-syndication" iconName="syndication"
>
</my-global-icon>
<button
*ngIf="syndicationItems && syndicationItems.length !== 0"
[ngbPopover]="feedsList" [autoClose]="true" placement="bottom left auto"
class="feed border-0 p-0"
title="Open syndication dropdown" i18n-title
>
<my-global-icon iconName="syndication"></my-global-icon>
<ng-template #feedsList>
<a *ngFor="let item of syndicationItems" [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a>
<a *ngFor="let item of syndicationItems" class="feed-link" [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a>
</ng-template>
</button>

View File

@ -4,15 +4,15 @@
.feed {
width: 100%;
color: inherit;
}
a {
color: pvar(--mainForegroundColor);
display: block;
min-width: 100px;
.feed-link {
color: pvar(--mainForegroundColor);
display: block;
min-width: 100px;
&:hover {
text-decoration: underline;
}
&:hover {
text-decoration: underline;
}
}