]> 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 c8c327398ffa7c35db026bc8e8d532a6da1718a7..8f8af655cc7804fb6378739a9c1ec2acd936c933 100644 (file)
@@ -26,9 +26,9 @@ my-actor-avatar-info {
 input {
   &[type=text] {
     @include peertube-input-text(340px);
-  
+
     display: block;
-  
+
     &#name {
       width: auto;
       flex-grow: 1;
@@ -48,14 +48,6 @@ textarea {
   display: block;
 }
 
-my-markdown-textarea ::ng-deep {
-  .root {
-    @media screen and (max-width: 1400px) {
-      flex-direction: column !important;
-    }
-  }
-}
-
 .peertube-select-container {
   @include peertube-select-container(340px);
 }
@@ -63,3 +55,13 @@ my-markdown-textarea ::ng-deep {
 .breadcrumb {
   @include breadcrumb;
 }
+
+@media screen and (max-width: $small-view) {
+  input[type=text]#name {
+    width: auto !important;
+  }
+
+  label[for=name] + div, textarea {
+    width: 100%;
+  }
+}