]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
Fix broken views on mobile and small screens (#2671)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channels.component.scss
CommitLineData
08c1efbe
C
1@import '_variables';
2@import '_mixins';
3
4.create-button {
457bb213 5 @include create-button;
08c1efbe
C
6}
7
03652b31 8::ng-deep .action-button {
8165d00a 9 &.action-button-edit {
08c1efbe
C
10 margin-right: 10px;
11 }
12}
13
14.video-channel {
22a16e36 15 @include row-blocks;
8165d00a 16 padding-bottom: 0;
08c1efbe
C
17
18 img {
19 @include avatar(80px);
20
21 margin-right: 10px;
22 }
23
24 .video-channel-info {
25 flex-grow: 1;
26
27 a.video-channel-names {
28 @include disable-default-a-behaviour;
29
8a19bee1 30 width: fit-content;
08c1efbe 31 display: flex;
8a19bee1 32 align-items: baseline;
9a0fc840 33 color: var(--mainForegroundColor);
08c1efbe
C
34
35 .video-channel-display-name {
36 font-weight: $font-semibold;
37 font-size: 18px;
38 }
39
40 .video-channel-name {
41 font-size: 14px;
22a16e36 42 color: $grey-actor-name;
8a19bee1 43 margin-left: 5px;
08c1efbe 44 }
f37dc0dd
C
45
46 .video-channel-followers {
47
48 }
08c1efbe
C
49 }
50 }
51
52 .video-channel-buttons {
53 min-width: 190px;
54 }
55}
56
57.video-channels-header {
58 text-align: right;
59 margin: 20px 0 50px;
60}
61
8165d00a
RK
62::ng-deep .chartjs-render-monitor {
63 position: relative;
64 top: 1px;
65}
66
ece3029b 67@media screen and (max-width: $small-view) {
f2bbd1e1
C
68 .video-channels-header {
69 text-align: center;
70 }
71
08c1efbe 72 .video-channel {
4682468d
K
73 padding-bottom: 10px;
74
75 .video-channel-info {
76 padding-bottom: 10px;
77 text-align: center;
78
79 .video-channel-names {
80 flex-direction: column;
81 align-items: center !important;
82 margin: auto;
83 }
f2bbd1e1
C
84 }
85
08c1efbe
C
86 img {
87 margin-right: 0;
88 }
89
90 .video-channel-buttons {
91 margin-top: 10px;
92 }
93 }
94}