mirror of https://github.com/Chocobozzz/PeerTube
Improve overview section titles
parent
28da43cf66
commit
9ffdd52a95
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<div class="section" *ngFor="let object of overview.tags">
|
<div class="section" *ngFor="let object of overview.tags">
|
||||||
<div class="section-title" i18n>
|
<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>
|
</div>
|
||||||
|
|
||||||
<my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
|
<my-video-miniature *ngFor="let video of object.videos" [video]="video" [user]="user"></my-video-miniature>
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
font-size: 17px;
|
font-size: 24px;
|
||||||
font-weight: $font-semibold;
|
font-weight: $font-semibold;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
&:hover, &:focus:not(.focus-visible), &:active {
|
&:hover, &:focus:not(.focus-visible), &:active {
|
||||||
|
@ -35,14 +35,18 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@include avatar(30px);
|
@include avatar(28px);
|
||||||
|
|
||||||
margin-right: 10px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 500px) {
|
@media screen and (max-width: 500px) {
|
||||||
|
.section-title {
|
||||||
|
font-size: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
@include video-miniature-small-screen;
|
@include video-miniature-small-screen;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue