Browse Source

style: narrow down menu width to 200px

pull/1607/head
TheDiaval 7 years ago
parent
commit
bef2f72da7
  1. 2
      npm/ng-packs/packages/core/src/lib/directives/ellipsis.directive.ts
  2. 2
      npm/ng-packs/packages/theme-shared/src/lib/contants/styles.ts

2
npm/ng-packs/packages/core/src/lib/directives/ellipsis.directive.ts

@ -21,7 +21,7 @@ export class EllipsisDirective implements AfterContentInit {
@HostBinding('style.max-width')
get maxWidth() {
return this.enabled ? this.witdh || '180px' : undefined;
return this.enabled ? this.witdh || '160px' : undefined;
}
constructor(private cdRef: ChangeDetectorRef, private elRef: ElementRef) {}

2
npm/ng-packs/packages/theme-shared/src/lib/contants/styles.ts

@ -25,7 +25,7 @@ export default `
}
.navbar .dropdown-menu {
min-width: 220px;
min-width: 200px;
}
.modal {

Loading…
Cancel
Save