Remove border-bottom on header to prevent header redimensioning (#2691)
authorKim <1877318+kimsible@users.noreply.github.com>
Thu, 30 Apr 2020 20:33:27 +0000 (22:33 +0200)
committerGitHub <noreply@github.com>
Thu, 30 Apr 2020 20:33:27 +0000 (22:33 +0200)
client/src/app/app.component.html

index 84cff4812606247517beddc0ab6fe86c7be06ebb..b0d2e5050a0c1d18baac76d8e19099ffed612dce 100644 (file)
@@ -5,7 +5,7 @@
 <div class="peertube-container" [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
   <div class="header">
 
-    <div class="top-left-block" [ngClass]="{ 'border-bottom': menu.isMenuDisplayed === false }">
+    <div class="top-left-block">
       <span class="icon icon-menu" (click)="menu.toggleMenu()"></span>
 
       <a class="peertube-title" [routerLink]="defaultRoute" title="Homepage" i18n-title>
@@ -14,7 +14,7 @@
       </a>
     </div>
 
-    <div class="header-right" [ngClass]="{ 'border-bottom': menu.isMenuDisplayed === false }">
+    <div class="header-right">
       <my-header class="w-100 d-flex justify-content-end"></my-header>
     </div>
   </div>