From 2b587cad93381a1901df3c993bf1db90bbb0891f Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 2 Jul 2020 19:45:21 +0200 Subject: align feed icons to the right for video listings --- .../src/app/shared/shared-main/buttons/button.component.scss | 10 ++++++---- client/src/app/shared/shared-main/feeds/feed.component.html | 8 ++------ 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'client/src/app/shared/shared-main') 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 { width: 20px; } +span[class$=-button] { + > span { + margin-left: 5px; + } +} + .action-button { @include peertube-button-link; @include button-with-icon(21px, 0, -1px); - - > span:nth-child(2) { - margin-left: 5px; - } } .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 @@ -
+
-- cgit v1.2.3