]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss
Fix regression my-account menu overflow-x on screen width < 800px (#2707)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channel-edit.component.scss
index 833fda45057a70bc57f5ff0d5cc1c72f876db6c8..8f8af655cc7804fb6378739a9c1ec2acd936c933 100644 (file)
@@ -1,8 +1,13 @@
 @import '_variables';
 @import '_mixins';
 
-.form-sub-title {
-  margin-bottom: 20px;
+label {
+  font-weight: $font-regular;
+  font-size: 100%;
+}
+
+.video-channel-title {
+  @include settings-big-title;
 }
 
 my-actor-avatar-info {
@@ -11,17 +16,29 @@ my-actor-avatar-info {
 }
 
 .input-group {
-  @include peertube-input-group(340px);
+  @include peertube-input-group(fit-content);
 }
 
-input[type=text] {
-  @include peertube-input-text(340px);
+.input-group-append {
+  height: 30px;
+}
 
-  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;
   }
 }
 
@@ -35,7 +52,16 @@ textarea {
   @include peertube-select-container(340px);
 }
 
-input[type=submit] {
-  @include peertube-button;
-  @include orange-button;
-}
\ No newline at end of file
+.breadcrumb {
+  @include breadcrumb;
+}
+
+@media screen and (max-width: $small-view) {
+  input[type=text]#name {
+    width: auto !important;
+  }
+
+  label[for=name] + div, textarea {
+    width: 100%;
+  }
+}