Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Move subscription helper in the account line

Chocobozzzb7f5b524756e
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index 8764d38c73..f39b5a94a4 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -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>
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index 717b00eb18..5127687b28 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -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;
- img {
- @include avatar(18px);
+ span:hover {
+ opacity: 0.8;
+ }
+
+ img {
+ @include avatar(18px);
- margin-top: -2px;
- margin-left: 7px;
+ margin-top: -2px;
+ margin-left: 7px;
+ }
+ }
+
+ my-help {
+ position: relative;
+ top: 1px;
+ margin-left: 2px;
}
}