diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-02 19:45:21 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-02 19:45:21 +0200 |
commit | 2b587cad93381a1901df3c993bf1db90bbb0891f (patch) | |
tree | d6b50fbafc2b900847f2eda848061fe2cb711a0e /client/src/app/shared/shared-main | |
parent | 2d011d94aa4086af3a87e254552062599d8c50bd (diff) | |
download | PeerTube-2b587cad93381a1901df3c993bf1db90bbb0891f.tar.gz PeerTube-2b587cad93381a1901df3c993bf1db90bbb0891f.tar.zst PeerTube-2b587cad93381a1901df3c993bf1db90bbb0891f.zip |
align feed icons to the right for video listings
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/buttons/button.component.scss | 10 | ||||
-rw-r--r-- | client/src/app/shared/shared-main/feeds/feed.component.html | 8 |
2 files changed, 8 insertions, 10 deletions
diff --git a/client/src/app/shared/shared-main/buttons/button.component.scss b/client/src/app/shared/shared-main/buttons/button.component.scss index f37decdef..1a28dd981 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.scss +++ b/client/src/app/shared/shared-main/buttons/button.component.scss | |||
@@ -7,13 +7,15 @@ my-small-loader ::ng-deep .root { | |||
7 | width: 20px; | 7 | width: 20px; |
8 | } | 8 | } |
9 | 9 | ||
10 | span[class$=-button] { | ||
11 | > span { | ||
12 | margin-left: 5px; | ||
13 | } | ||
14 | } | ||
15 | |||
10 | .action-button { | 16 | .action-button { |
11 | @include peertube-button-link; | 17 | @include peertube-button-link; |
12 | @include button-with-icon(21px, 0, -1px); | 18 | @include button-with-icon(21px, 0, -1px); |
13 | |||
14 | > span:nth-child(2) { | ||
15 | margin-left: 5px; | ||
16 | } | ||
17 | } | 19 | } |
18 | 20 | ||
19 | .orange-button { | 21 | .orange-button { |
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 ac0b1f454..6b8013a9b 100644 --- a/client/src/app/shared/shared-main/feeds/feed.component.html +++ b/client/src/app/shared/shared-main/feeds/feed.component.html | |||
@@ -1,10 +1,6 @@ | |||
1 | <div class="video-feed" | 1 | <div class="video-feed"> |
2 | [ngbTooltip]="'Feeds available'" | ||
3 | placement="right auto" | ||
4 | container="body" | ||
5 | > | ||
6 | <my-global-icon | 2 | <my-global-icon |
7 | *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom" | 3 | *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="left auto" |
8 | class="icon-syndication" role="button" iconName="syndication" | 4 | class="icon-syndication" role="button" iconName="syndication" |
9 | > | 5 | > |
10 | </my-global-icon> | 6 | </my-global-icon> |