diff options
author | Wicklow <123956049+wickloww@users.noreply.github.com> | 2023-03-07 09:18:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 10:18:08 +0100 |
commit | 68773f79face7d26c5109f7b31e04d5932c9d204 (patch) | |
tree | 7dde35e146f095b2f8e51aa5cdfbe415b2e476e8 | |
parent | c0a4982ebe27c89f296a0bbd518e938f09d1f054 (diff) | |
download | PeerTube-68773f79face7d26c5109f7b31e04d5932c9d204.tar.gz PeerTube-68773f79face7d26c5109f7b31e04d5932c9d204.tar.zst PeerTube-68773f79face7d26c5109f7b31e04d5932c9d204.zip |
Hotfix/channel avatars overview (#5667)
* Fix channel avatar display
* Improve video overview component style
* Better alignment of avatar and title
* Convert in rem video overview component
-rw-r--r-- | client/src/app/+videos/video-list/overview/video-overview.component.scss | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/client/src/app/+videos/video-list/overview/video-overview.component.scss b/client/src/app/+videos/video-list/overview/video-overview.component.scss index 5a789b66d..b1b42b517 100644 --- a/client/src/app/+videos/video-list/overview/video-overview.component.scss +++ b/client/src/app/+videos/video-list/overview/video-overview.component.scss | |||
@@ -21,9 +21,9 @@ | |||
21 | } | 21 | } |
22 | 22 | ||
23 | .section-title { | 23 | .section-title { |
24 | font-size: 24px; | 24 | @include font-size(1.5rem); |
25 | padding-top: 20px; | 25 | @include padding-top(1.25rem); |
26 | margin-bottom: 30px; | 26 | @include margin-bottom(2rem); |
27 | 27 | ||
28 | &:not(h2) { | 28 | &:not(h2) { |
29 | border-top: 1px solid $separator-border-color; | 29 | border-top: 1px solid $separator-border-color; |
@@ -38,8 +38,8 @@ | |||
38 | my-actor-avatar { | 38 | my-actor-avatar { |
39 | @include margin-right(8px); | 39 | @include margin-right(8px); |
40 | 40 | ||
41 | position: relative; | 41 | display: inline-block; |
42 | top: -2px; | 42 | vertical-align: text-top; |
43 | } | 43 | } |
44 | } | 44 | } |
45 | 45 | ||
@@ -49,8 +49,6 @@ | |||
49 | 49 | ||
50 | .section-title { | 50 | .section-title { |
51 | @include margin-left(10px); | 51 | @include margin-left(10px); |
52 | |||
53 | font-size: 17px; | ||
54 | } | 52 | } |
55 | } | 53 | } |
56 | } | 54 | } |