From: Chocobozzz Date: Wed, 28 Aug 2019 08:22:01 +0000 (+0200) Subject: Use badges for instance languages/categories X-Git-Tag: v2.0.0-rc.1~84 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9fe1bc685515f9dd281d8d8afe1003da8c793774;p=oweals%2Fpeertube.git Use badges for instance languages/categories --- diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html index c6247c4ae..80acfcce0 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html @@ -7,26 +7,16 @@
Contact administrator
+
+ {{ category }} + + {{ language }} +
+
{{ shortDescription }}
This instance is dedicated to sensitive/NSFW content.
- -
-
Main instance languages
- -
    -
  • {{ language }}
  • -
-
- -
-
Main instance categories
- -
    -
  • {{ category }}
  • -
-
diff --git a/client/src/app/+about/about-instance/about-instance.component.scss b/client/src/app/+about/about-instance/about-instance.component.scss index d71cfffc6..909ae5c21 100644 --- a/client/src/app/+about/about-instance/about-instance.component.scss +++ b/client/src/app/+about/about-instance/about-instance.component.scss @@ -7,7 +7,6 @@ .title { font-size: 20px; - margin-bottom: 15px; font-weight: $font-semibold; } @@ -19,6 +18,20 @@ } } +.instance-badges { + font-size: 16px; + + .badge { + font-size: 12px; + font-weight: $font-semibold; + margin-right: 5px; + + &.category { + background-color: var(--mainColor); + } + } +} + .section-title { font-weight: $font-semibold; font-size: 16px;