diff --git a/projects/common/element-components/image.component.ts b/projects/common/element-components/image.component.ts index 76e594df1ddeb181acfa60fb81a77582fbd0cf76..f9c81aa2b594aadeb80263ce3128d3a5f17a3e1e 100644 --- a/projects/common/element-components/image.component.ts +++ b/projects/common/element-components/image.component.ts @@ -5,7 +5,9 @@ import { ElementComponent } from '../element-component.directive'; @Component({ selector: 'app-image', template: ` - <img src="{{elementModel.src}}" alt="Image Placeholder"> + <img src="{{elementModel.src}}" + alt="Image Placeholder" + [style.width.%]="100"> ` }) export class ImageComponent extends ElementComponent {