]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix themes in about page
authorChocobozzz <me@florianbigard.com>
Mon, 14 Dec 2020 08:30:53 +0000 (09:30 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 14 Dec 2020 08:30:53 +0000 (09:30 +0100)
client/src/app/+about/about-instance/about-instance.component.html
client/src/app/+about/about-instance/about-instance.component.scss

index bb337fdf307f6d0e4b1f24eae280d59f3f2f2fba..40602311cef9316f4ee0dd2be3419bac612046a0 100644 (file)
@@ -7,7 +7,7 @@
       <button i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" (keydown.enter)="openContactModal()" class="contact-admin">Contact administrator</button>
     </div>
 
-    <div class="block instance-badges">
+    <div class="block instance-badges" *ngIf="categories.length !== 0 || languages.length !== 0">
       <span *ngFor="let category of categories" class="badge badge-primary category">{{ category }}</span>
 
       <span *ngFor="let language of languages" class="badge badge-secondary language">{{ language }}</span>
index fe3ce22b0bb589afb42b0d615255b11c4753fc9a..aa6e5ab19ec635b4f5d85e2edf2cc1f758cd71cf 100644 (file)
@@ -75,6 +75,6 @@
   }
 
   .section-title {
-    color: initial;
+    color: var(--mainForegroundColor);
   }
 }