]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/header/header.component.scss
Display report reason in multiple lines (#957)
[github/Chocobozzz/PeerTube.git] / client / src / app / header / header.component.scss
index ed8695eaba7f3758279d306b9dc70ce1278fc76d..6ce92fc22b9a0443fa1501a622878d7551dbcbe1 100644 (file)
@@ -1,11 +1,22 @@
+@import '_variables';
+@import '_mixins';
+
 #search-video {
   @include peertube-input-text($search-input-width);
   margin-right: 15px;
-  padding-right: 25px; // For the search icon
+  padding-right: 40px; // For the search icon
 
   &::placeholder {
     color: #000;
   }
+
+  @media screen and (max-width: 800px) {
+    width: calc(100% - 150px);
+  }
+
+  @media screen and (max-width: 600px) {
+    width: calc(100% - 70px);
+  }
 }
 
 .icon.icon-search {
 
   margin-right: 25px;
 
+  @media screen and (max-width: 800px) {
+    margin-right: 0;
+  }
+
   .icon.icon-upload {
     @include icon(22px);
 
     vertical-align: middle;
     margin-right: 6px;
   }
+
+  @media screen and (max-width: 600px) {
+    margin-right: 10px;
+    padding: 0 10px;
+
+    .icon.icon-upload {
+      margin-right: 0;
+    }
+
+    .upload-button-label {
+      display: none;
+    }
+  }
 }