Move subscription helper in the account line

This commit is contained in:
Chocobozzz 2018-07-30 11:55:58 +02:00
parent 6af6cf831f
commit b7f5b52475
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 24 additions and 18 deletions

View File

@ -34,7 +34,6 @@
<img [src]="video.videoChannelAvatarUrl" alt="Video channel avatar" />
</a>
<!-- Here will be the subscribe button -->
<my-help helpType="custom" i18n-customHtml customHtml="You can subscribe to this account via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type in the search box <strong>@{{video.account.name}}@{{video.account.host}}</strong> and subscribe there. Subscription as a PeerTube user is being worked on in <a href='https://github.com/Chocobozzz/PeerTube/issues/470'>#470</a>."></my-help>
</div>
<div class="video-info-by">
@ -42,6 +41,8 @@
<span i18n>By {{ video.by }}</span>
<img [src]="video.accountAvatarUrl" alt="Account avatar" />
</a>
<my-help helpType="custom" i18n-customHtml customHtml="You can subscribe to this account via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type in the search box <strong>@{{video.account.name}}@{{video.account.host}}</strong> and subscribe there. Subscription as a PeerTube user is being worked on in <a href='https://github.com/Chocobozzz/PeerTube/issues/470'>#470</a>."></my-help>
</div>
</div>

View File

@ -115,13 +115,11 @@
margin: -2px 2px 0 5px;
}
}
my-help {
display: inline-block;
}
}
.video-info-by a {
.video-info-by {
a {
@include disable-default-a-behaviour;
display: inline;
@ -141,6 +139,13 @@
}
}
my-help {
position: relative;
top: 1px;
margin-left: 2px;
}
}
my-video-feed {
margin-left: 5px;
margin-top: 1px;