diff --git a/projects/common/element-components/image.component.ts b/projects/common/element-components/image.component.ts index 18363835f95b0c0986be999b5a3a8f7a903a4f92..f89974632da1dd2976f7adf50dea189b2e25e118 100644 --- a/projects/common/element-components/image.component.ts +++ b/projects/common/element-components/image.component.ts @@ -1,4 +1,6 @@ -import { Component, EventEmitter, Input, Output } from '@angular/core'; +import { + Component, EventEmitter, Input, Output +} from '@angular/core'; import { ElementComponent } from '../element-component.directive'; import { ImageElement } from '../models/image-element'; import { ValueChangeElement } from '../models/uI-element'; @@ -6,8 +8,7 @@ import { ValueChangeElement } from '../models/uI-element'; @Component({ selector: 'app-image', template: ` - <div [style.display]="'flex'" - [style.height.%]="100" + <div [style.height.%]="100" [style.width.%]="100" (mouseover)="magnifierVisible = true" (mouseenter)="magnifierVisible = true"