Skip to content

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

Fix feed button

Chocobozzzd3ae2e9c809e
diff --git a/client/src/app/shared/shared-main/feeds/feed.component.html b/client/src/app/shared/shared-main/feeds/feed.component.html
index 7032c4cd0e..24b25fc02f 100644
--- a/client/src/app/shared/shared-main/feeds/feed.component.html
+++ b/client/src/app/shared/shared-main/feeds/feed.component.html
@@ -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>
diff --git a/client/src/app/shared/shared-main/feeds/feed.component.scss b/client/src/app/shared/shared-main/feeds/feed.component.scss
index 25afe9c6c9..fa7ed286de 100644
--- a/client/src/app/shared/shared-main/feeds/feed.component.scss
+++ b/client/src/app/shared/shared-main/feeds/feed.component.scss
@@ -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;
}
}