From 8227643bce85747953eb43ddc553f14d29bc475f Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 12 Mar 2020 00:45:45 +0100 Subject: hide RSS for comments, normalize video-channel edit with account edit --- .../my-account-settings.component.html | 1 + .../my-account-video-channel-edit.component.html | 101 ++++++++++++--------- .../my-account-video-channel-edit.component.scss | 44 ++++++--- 3 files changed, 91 insertions(+), 55 deletions(-) (limited to 'client/src/app/+my-account') diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html index 87296bc19..ddcde828c 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html @@ -24,6 +24,7 @@
+
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html index f87df87df..cc20674c9 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html @@ -1,8 +1,3 @@ - -
Create a video channel
{{ error }}
@@ -24,49 +19,69 @@
-
- - -
- {{ formErrors['display-name'] }} +
+
+
CHANNEL
-
-
- - -
- {{ formErrors.description }} -
-
+
+ + + +
+ + +
+ {{ formErrors['display-name'] }} +
+
+ +
+ + +
+ {{ formErrors.description }} +
+
+ +
+ + + +
+ {{ formErrors.support }} +
+
+ +
+ +
-
- - - -
- {{ formErrors.support }}
-
- +
+
+
+ +
- - diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss index d35e0ed64..fa6b18b37 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss @@ -1,6 +1,10 @@ @import '_variables'; @import '_mixins'; +.video-channel-title { + @include settings-big-title; +} + .form-sub-title { margin-bottom: 20px; } @@ -18,28 +22,44 @@ my-actor-avatar-info { height: 30px; } -input[type=text] { - @include peertube-input-text(340px); - - display: block; +input { + &[type=text] { + @include peertube-input-text(340px); + + display: block; + + &#name { + width: auto; + flex-grow: 1; + } + } - &#name { - width: auto; - flex-grow: 1; + &[type=submit] { + @include peertube-button; + @include orange-button; + margin-left: auto; } } +label { + font-weight: $font-regular; + font-size: 100%; +} + textarea { @include peertube-textarea(500px, 150px); display: block; } -.peertube-select-container { - @include peertube-select-container(340px); +my-markdown-textarea ::ng-deep { + .root { + @media screen and (max-width: 1400px) { + flex-direction: column !important; + } + } } -input[type=submit] { - @include peertube-button; - @include orange-button; +.peertube-select-container { + @include peertube-select-container(340px); } -- cgit v1.2.3