Skip to content

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

Fix responsive in my channel/my videos pages

Chocobozzzf2bbd1e1b1eb
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
index 56a637a822..f047bb4110 100644
--- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
+++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
@@ -56,11 +56,19 @@
}
@media screen and (max-width: 800px) {
+ .video-channels-header {
+ text-align: center;
+ }
+
.video-channel {
flex-direction: column;
height: auto;
text-align: center;
+ .video-channel-names {
+ justify-content: center;
+ }
+
img {
margin-right: 0;
}
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
index 1f22aec71b..65c0c8bb2f 100644
--- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
+++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
@@ -100,6 +100,10 @@
height: auto;
text-align: center;
+ .video-info-name {
+ margin: auto;
+ }
+
input[type=checkbox] {
display: none;
}
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 3904751c22..9f83469501 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -411,9 +411,11 @@
@include orange-button;
.icon.icon-add {
- @include icon(22px);
+ @include icon(20px);
- margin-right: 3px;
+ position: relative;
+ top: -1px;
+ margin-right: 5px;
background-image: url($imageUrl);
}
}