]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/header/header.component.scss
Fix loading spinner in player
[github/Chocobozzz/PeerTube.git] / client / src / app / header / header.component.scss
index d1c59e8d1e290649ed732a431f6990c2fc79119b..fba70dd2f1f70be07abe5654bd2037a8cbc894e3 100644 (file)
@@ -6,6 +6,14 @@
   &::placeholder {
     color: #000;
   }
+
+  @media screen and (max-width: 600px) {
+    width: calc(100% - 150px);
+  }
+
+  @media screen and (max-width: 400px) {
+    width: calc(100% - 70px);
+  }
 }
 
 .icon.icon-search {
   margin-right: 25px;
 
   .icon.icon-upload {
-    display: inline-block;
-    background: url('../../assets/images/header/upload.svg') no-repeat;
-    background-size: contain;
-    width: 22px;
+    @include icon(22px);
+
+    background-image: url('../../assets/images/header/upload.svg');
     height: 24px;
     vertical-align: middle;
     margin-right: 6px;
   }
+
+  @media screen and (max-width: 400px) {
+    margin-right: 10px;
+    padding: 0 10px;
+
+    .icon.icon-upload {
+      margin-right: 0;
+    }
+
+    .upload-button-label {
+      display: none;
+    }
+  }
 }