Skip to content

Commit

Permalink
Fix apps menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Jul 17, 2024
1 parent 8d2d99f commit 266dbc9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/* eslint-disable @angular-eslint/no-host-metadata-property */

import { ChangeDetectionStrategy, Component, ElementRef, HostBinding } from '@angular/core';
import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input } from '@angular/core';
import { fadeAnimation } from './animations';

@Component({
Expand All @@ -29,6 +29,10 @@ export class DropdownMenuComponent {
return true;
}

@HostBinding('class')
@Input()
public class?: string;

public get nativeElement() {
return this.element.nativeElement;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</span>

<sqx-dropdown-menu
class="d-flex flex-column"
position="bottom-start"
scrollY="true"
[sqxAnchoredTo]="button"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ h3 {
}

.apps-list {
max-height: 600px;
overflow-x: hidden;
overflow-y: auto;
}

.dropdown-menu {
overflow-y: hidden !important;
}

.breadcrumb {
margin: 0;

Expand Down

0 comments on commit 266dbc9

Please sign in to comment.