diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-15 15:31:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-15 15:31:03 +0200 |
commit | 205e4f56f3da1f787f1bc2cdfcc39948a99a16b1 (patch) | |
tree | 5bb1b37b2ec1a55f61247b83e1a8593c06804e2a /client/src/app/shared/shared-video-miniature/abstract-video-list.scss | |
parent | f6500729850549e632399155d0f3b69822e28b16 (diff) | |
download | PeerTube-205e4f56f3da1f787f1bc2cdfcc39948a99a16b1.tar.gz PeerTube-205e4f56f3da1f787f1bc2cdfcc39948a99a16b1.tar.zst PeerTube-205e4f56f3da1f787f1bc2cdfcc39948a99a16b1.zip |
Refactor feed component
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/abstract-video-list.scss')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/abstract-video-list.scss | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/client/src/app/shared/shared-video-miniature/abstract-video-list.scss b/client/src/app/shared/shared-video-miniature/abstract-video-list.scss index 6570b63d0..467ca1d2c 100644 --- a/client/src/app/shared/shared-video-miniature/abstract-video-list.scss +++ b/client/src/app/shared/shared-video-miniature/abstract-video-list.scss | |||
@@ -15,18 +15,9 @@ $iconSize: 16px; | |||
15 | justify-content: space-between; | 15 | justify-content: space-between; |
16 | align-items: center; | 16 | align-items: center; |
17 | 17 | ||
18 | .action-block { | 18 | my-feed { |
19 | ::ng-deep my-feed { | 19 | display: inline-block; |
20 | my-global-icon { | 20 | width: calc(#{$iconSize} - 2px); |
21 | width: calc(#{$iconSize} - 2px); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | a button { | ||
26 | @include peertube-button; | ||
27 | @include grey-button; | ||
28 | @include button-with-icon($iconSize, 3px, -1px); | ||
29 | } | ||
30 | } | 21 | } |
31 | 22 | ||
32 | .moderation-block { | 23 | .moderation-block { |
@@ -34,21 +25,12 @@ $iconSize: 16px; | |||
34 | my-global-icon { | 25 | my-global-icon { |
35 | position: relative; | 26 | position: relative; |
36 | width: $iconSize; | 27 | width: $iconSize; |
37 | top: -2px; | ||
38 | } | 28 | } |
39 | 29 | ||
40 | margin-left: .4rem; | 30 | margin-left: .4rem; |
41 | display: flex; | 31 | display: flex; |
42 | justify-content: flex-end; | 32 | justify-content: flex-end; |
43 | align-items: center; | 33 | align-items: center; |
44 | |||
45 | .dropdown-item { | ||
46 | padding: 0; | ||
47 | |||
48 | ::ng-deep my-peertube-checkbox label { | ||
49 | padding: 3px 15px; | ||
50 | } | ||
51 | } | ||
52 | } | 34 | } |
53 | } | 35 | } |
54 | 36 | ||