Move subscription helper in the account line
This commit is contained in:
parent
6af6cf831f
commit
b7f5b52475
2 changed files with 24 additions and 18 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -115,29 +115,34 @@
|
|||
margin: -2px 2px 0 5px;
|
||||
}
|
||||
}
|
||||
|
||||
my-help {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.video-info-by a {
|
||||
@include disable-default-a-behaviour;
|
||||
.video-info-by {
|
||||
|
||||
display: inline;
|
||||
align-items: center;
|
||||
font-size: 13px;
|
||||
color: #000;
|
||||
a {
|
||||
@include disable-default-a-behaviour;
|
||||
|
||||
span:hover {
|
||||
opacity: 0.8;
|
||||
display: inline;
|
||||
align-items: center;
|
||||
font-size: 13px;
|
||||
color: #000;
|
||||
|
||||
span:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
img {
|
||||
@include avatar(18px);
|
||||
|
||||
margin-top: -2px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
@include avatar(18px);
|
||||
|
||||
margin-top: -2px;
|
||||
margin-left: 7px;
|
||||
my-help {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue