Fix feed button
This commit is contained in:
parent
ce3d17388d
commit
d3ae2e9c80
|
@ -1,12 +1,12 @@
|
||||||
<button class="feed border-0 p-0" *ngIf="syndicationItems && syndicationItems.length !== 0">
|
<button
|
||||||
<my-global-icon
|
*ngIf="syndicationItems && syndicationItems.length !== 0"
|
||||||
role="button" aria-label="Open syndication dropdown" i18n-aria-label
|
[ngbPopover]="feedsList" [autoClose]="true" placement="bottom left auto"
|
||||||
*ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom left auto"
|
class="feed border-0 p-0"
|
||||||
class="icon-syndication" iconName="syndication"
|
title="Open syndication dropdown" i18n-title
|
||||||
>
|
>
|
||||||
</my-global-icon>
|
<my-global-icon iconName="syndication"></my-global-icon>
|
||||||
|
|
||||||
<ng-template #feedsList>
|
<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>
|
</ng-template>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -4,15 +4,15 @@
|
||||||
.feed {
|
.feed {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
.feed-link {
|
||||||
color: pvar(--mainForegroundColor);
|
color: pvar(--mainForegroundColor);
|
||||||
display: block;
|
display: block;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user