Fix notification header dropdown position
This commit is contained in:
parent
7395c90f7e
commit
d7c48ff5f8
|
@ -23,7 +23,7 @@
|
||||||
</a>
|
</a>
|
||||||
} @else {
|
} @else {
|
||||||
<div
|
<div
|
||||||
ngbDropdown autoClose="outside" placement="bottom" container="body" dropdownClass="dropdown-notifications"
|
ngbDropdown autoClose="outside" placement="bottom-end auto" container="body" dropdownClass="dropdown-notifications"
|
||||||
#dropdown="ngbDropdown" (openChange)="$event === true ? onDropdownShown() : onDropdownHidden()"
|
#dropdown="ngbDropdown" (openChange)="$event === true ? onDropdownShown() : onDropdownHidden()"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -5,16 +5,8 @@
|
||||||
scrollbar-color: auto;
|
scrollbar-color: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-inbox-dropdown.hidden {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
::ng-deep {
|
::ng-deep {
|
||||||
.dropdown-notifications {
|
.dropdown-notifications {
|
||||||
max-width: none;
|
|
||||||
top: -6px !important;
|
|
||||||
left: 7px !important;
|
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { GlobalIconComponent } from '@app/shared/shared-icons/global-icon.compon
|
||||||
import { LoaderComponent } from '@app/shared/shared-main/common/loader.component'
|
import { LoaderComponent } from '@app/shared/shared-main/common/loader.component'
|
||||||
import { UserNotificationService } from '@app/shared/shared-main/users/user-notification.service'
|
import { UserNotificationService } from '@app/shared/shared-main/users/user-notification.service'
|
||||||
import { UserNotificationsComponent } from '@app/shared/standalone-notifications/user-notifications.component'
|
import { UserNotificationsComponent } from '@app/shared/standalone-notifications/user-notifications.component'
|
||||||
import { NgbDropdown, NgbDropdownModule, NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap'
|
import { NgbDropdown, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'
|
||||||
import { Subject, Subscription } from 'rxjs'
|
import { Subject, Subscription } from 'rxjs'
|
||||||
import { filter } from 'rxjs/operators'
|
import { filter } from 'rxjs/operators'
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@ import { filter } from 'rxjs/operators'
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
NgbPopoverModule,
|
|
||||||
UserNotificationsComponent,
|
UserNotificationsComponent,
|
||||||
GlobalIconComponent,
|
GlobalIconComponent,
|
||||||
LoaderComponent,
|
LoaderComponent,
|
||||||
|
|
Loading…
Reference in New Issue