]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Improve overview section titles
authorChocobozzz <me@florianbigard.com>
Wed, 26 Sep 2018 13:03:04 +0000 (15:03 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 26 Sep 2018 13:03:04 +0000 (15:03 +0200)
client/src/app/videos/video-list/video-overview.component.html
client/src/app/videos/video-list/video-overview.component.scss

index 4dad6a6e42528de4dbd01509d6c7d5e86aea3363..cb26592e3b71223edb7d363bc103aefead224f93 100644 (file)
@@ -12,7 +12,7 @@
 
   <div class="section" *ngFor="let object of overview.tags">
     <div class="section-title" i18n>
-      <a routerLink="/search" [queryParams]="{ tagsOneOf: [ object.tag ] }">{{ object.tag }}</a>
+      <a routerLink="/search" [queryParams]="{ tagsOneOf: [ object.tag ] }">#{{ object.tag }}</a>
     </div>
 
     <my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
index eca8b230ff688d939404ce68a807cf87d704db97..aff45c0729cd0df64483747449b91022cbc3ad4f 100644 (file)
@@ -14,9 +14,9 @@
 }
 
 .section-title {
-  font-size: 17px;
+  font-size: 24px;
   font-weight: $font-semibold;
-  margin-bottom: 20px;
+  margin-bottom: 10px;
 
   a {
     &:hover, &:focus:not(.focus-visible), &:active {
     align-items: center;
 
     img {
-      @include avatar(30px);
+      @include avatar(28px);
 
-      margin-right: 10px;
+      margin-right: 8px;
     }
   }
 }
 
 @media screen and (max-width: 500px) {
+  .section-title {
+    font-size: 17px;
+  }
+
   .section {
     @include video-miniature-small-screen;
   }