]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/app.component.scss
Add ability to change the homepage
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.scss
index 2aadb1c97466aad003ceaebbc0f44084458d2766..8e88bceff3da58e75affa2ebe92b039ee21f8934 100644 (file)
   display: flex;
 
   .top-left-block {
-    width: $menu-width;
     z-index: 1001;
     height: $header-height;
     display: flex;
     align-items: center;
+    flex: 1;
+    min-width: 0;
 
     .icon {
       @include icon(22px);
 
       &.icon-menu {
         background-image: url('../assets/images/header/menu.svg');
-        margin: 0 18px 0 24px;
+        margin: 0 18px 0 20px;
       }
     }
 
     #peertube-title {
+      @include disable-default-a-behaviour;
       font-size: 20px;
       font-weight: $font-bold;
       color: inherit !important;
       display: flex;
       align-items: center;
+      overflow: hidden;
 
-      @include disable-default-a-behaviour;
+      .instance-name {
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
+        width: 100%;
+      }
 
       .icon.icon-logo {
         display: inline-block;
         display: none;
       }
     }
+
+    @media screen and (max-width: 350px) {
+      flex: auto;
+    }
   }
 
   .header-right {
     height: $header-height;
     display: flex;
     align-items: center;
-    flex-grow: 1;
     justify-content: flex-end;
+    white-space: nowrap;
   }
 }