aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-09 13:53:33 +0200
committerChocobozzz <me@florianbigard.com>2023-05-09 13:53:33 +0200
commit2f63f629add5d24f8c01f309c7cae43b667b0c2a (patch)
treefde4737a58c38cc5bf8f7565394950d8f2d499b8
parentf77043f96e776d601aac20fd68ee468146edfa97 (diff)
downloadPeerTube-2f63f629add5d24f8c01f309c7cae43b667b0c2a.tar.gz
PeerTube-2f63f629add5d24f8c01f309c7cae43b667b0c2a.tar.zst
PeerTube-2f63f629add5d24f8c01f309c7cae43b667b0c2a.zip
Fix subscribe button responsive
-rw-r--r--client/src/app/shared/shared-user-subscription/subscribe-button.component.scss6
-rw-r--r--server/tests/api/videos/videos-overview.ts4
2 files changed, 8 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-user-subscription/subscribe-button.component.scss b/client/src/app/shared/shared-user-subscription/subscribe-button.component.scss
index 972731116..a39ce90e3 100644
--- a/client/src/app/shared/shared-user-subscription/subscribe-button.component.scss
+++ b/client/src/app/shared/shared-user-subscription/subscribe-button.component.scss
@@ -79,6 +79,12 @@
79 cursor: pointer; 79 cursor: pointer;
80 } 80 }
81 81
82 .dropdown-item {
83 @media screen and (max-width: $mobile-view) {
84 white-space: normal;
85 }
86 }
87
82 .dropdown-item-neutral { 88 .dropdown-item-neutral {
83 cursor: default; 89 cursor: default;
84 90
diff --git a/server/tests/api/videos/videos-overview.ts b/server/tests/api/videos/videos-overview.ts
index c012d47c3..6e723c510 100644
--- a/server/tests/api/videos/videos-overview.ts
+++ b/server/tests/api/videos/videos-overview.ts
@@ -29,7 +29,7 @@ describe('Test a videos overview', function () {
29 }) 29 })
30 30
31 it('Should upload 5 videos in a specific category, tag and channel but not include them in overview', async function () { 31 it('Should upload 5 videos in a specific category, tag and channel but not include them in overview', async function () {
32 this.timeout(30000) 32 this.timeout(60000)
33 33
34 await wait(3000) 34 await wait(3000)
35 35
@@ -47,7 +47,7 @@ describe('Test a videos overview', function () {
47 }) 47 })
48 48
49 it('Should upload another video and include all videos in the overview', async function () { 49 it('Should upload another video and include all videos in the overview', async function () {
50 this.timeout(30000) 50 this.timeout(60000)
51 51
52 { 52 {
53 for (let i = 1; i < 6; i++) { 53 for (let i = 1; i < 6; i++) {