ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix menu dropdowns
Chocobozzz8527f4b163c4
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.htmlindex 0786b953b0..8b90fb78ba 100644--- a/client/src/app/menu/menu.component.html+++ b/client/src/app/menu/menu.component.html@@ -5,7 +5,7 @@<div><divclass="logged-in-more" ngbDropdown #dropdown="ngbDropdown" placement="bottom-left auto"- [container]="dropdownContainer" (openChange)="onDropdownOpenChange($event)" autoClose="outside"+ container="body" (openChange)="onDropdownOpenChange($event)" autoClose="outside"><button class="border-0 text-start" ngbDropdownToggle><my-actor-avatar [actor]="user.account" actorType="account" size="34"></my-actor-avatar>diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scssindex 4b1ed65ced..d88025c335 100644--- a/client/src/app/menu/menu.component.scss+++ b/client/src/app/menu/menu.component.scss@@ -114,7 +114,7 @@ my-notification {display: inherit !important;}- > .dropdown-toggle {+ &.dropdown-toggle {max-width: 88% !important;}}@@ -144,7 +144,7 @@ my-notification {/* fill space when on mobile */max-width: calc(100% - 80px);- .dropdown-toggle {+ &.dropdown-toggle {max-width: 100%;}@@ -171,7 +171,8 @@ my-notification {> .dropdown-toggle:first-child {display: flex;align-items: center;- padding: 5px 7px;+ width: 100%;+ padding: 5px 25px 5px 7px;}}diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.tsindex 896c824b8a..410abe6fa4 100644--- a/client/src/app/menu/menu.component.ts+++ b/client/src/app/menu/menu.component.ts@@ -86,12 +86,6 @@ export class MenuComponent implements OnInit, OnDestroy {return this.screenService.isInMobileView()}- get dropdownContainer () {- if (this.isInMobileView) return null-- return 'body' as 'body'- }-get language () {return this.languageChooserModal.getCurrentLanguage()}diff --git a/client/src/app/menu/notification.component.html b/client/src/app/menu/notification.component.htmlindex 907828efb7..921d7643f1 100644--- a/client/src/app/menu/notification.component.html+++ b/client/src/app/menu/notification.component.html@@ -4,7 +4,7 @@</ng-template><button- [ngbPopover]="popContent" autoClose="outside" placement="bottom" container={this} popoverClass="popover-notifications"+ [ngbPopover]="popContent" autoClose="outside" placement="bottom" container="body" popoverClass="popover-notifications"i18n-title title="View your notifications"class="border-0 text-start" [ngClass]="{ 'notification-inbox-popover': true, 'shown': opened, 'hidden': isInMobileView }"#popover="ngbPopover" (shown)="onPopoverShown()" (hidden)="onPopoverHidden()"diff --git a/server/tests/peertube-runner/live-transcoding.ts b/server/tests/peertube-runner/live-transcoding.tsindex 17e1f30780..e7ef941c64 100644--- a/server/tests/peertube-runner/live-transcoding.ts+++ b/server/tests/peertube-runner/live-transcoding.ts@@ -76,7 +76,7 @@ describe('Test Live transcoding in peertube-runner program', function () {})it('Should save a replay', async function () {- this.timeout(120000)+ this.timeout(240000)const { video } = await servers[0].live.quickCreate({ permanentLive: true, saveReplay: true })