]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.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-channel-edit.component.scss
1 @import '_variables';
2 @import '_mixins';
3
4 label {
5 font-weight: $font-regular;
6 font-size: 100%;
7 }
8
9 .video-channel-title {
10 @include settings-big-title;
11 }
12
13 my-actor-avatar-info {
14 display: block;
15 margin-bottom: 20px;
16 }
17
18 .input-group {
19 @include peertube-input-group(fit-content);
20 }
21
22 .input-group-append {
23 height: 30px;
24 }
25
26 input {
27 &[type=text] {
28 @include peertube-input-text(340px);
29
30 display: block;
31
32 &#name {
33 width: auto;
34 flex-grow: 1;
35 }
36 }
37
38 &[type=submit] {
39 @include peertube-button;
40 @include orange-button;
41 margin-left: auto;
42 }
43 }
44
45 textarea {
46 @include peertube-textarea(500px, 150px);
47
48 display: block;
49 }
50
51 my-markdown-textarea ::ng-deep {
52 .root {
53 @media screen and (max-width: 1400px) {
54 flex-direction: column !important;
55 }
56 }
57 }
58
59 .peertube-select-container {
60 @include peertube-select-container(340px);
61 }
62
63 .breadcrumb {
64 @include breadcrumb;
65 }
66
67 @media screen and (max-width: $small-view) {
68 input[type=text]#name {
69 width: auto !important;
70 }
71
72 label[for=name] + div, textarea {
73 width: 100%;
74 }
75 }