Skip to content

Commit

Permalink
Merge pull request #90 from vcl/bugFix/nag-layer
Browse files Browse the repository at this point in the history
fix(nag-layer): remove excess host width
  • Loading branch information
vanthome authored Jul 16, 2024
2 parents 80e0712 + ea25aba commit 64471de
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions demo/app/demos/layer/nag.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
Injector,
Injectable,
Inject,
forwardRef,
HostBinding,
} from '@angular/core';
import { Overlay } from '@angular/cdk/overlay';
Expand All @@ -24,13 +23,6 @@ export interface INagLayer

@Component({
templateUrl: 'nag.component.html',
styles: [
`
:host {
width: 100%;
}
`,
],
})
export class NagComponent {
// Inject the ComponentLayerRef and use an interface for typings
Expand Down Expand Up @@ -65,7 +57,10 @@ export class NagLayer
extends ComponentLayerRef<NagLayerData, NagLayerResult, NagComponent>
implements INagLayer
{
constructor(injector: Injector, private overlay: Overlay) {
constructor(
injector: Injector,
private overlay: Overlay
) {
super(injector);
}

Expand Down

0 comments on commit 64471de

Please sign in to comment.