Skip to content
Snippets Groups Projects
Commit c17801e6 authored by jojohoch's avatar jojohoch
Browse files

Change center-content class for button component

parent 7001885c
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,9 @@ import { ButtonElement } from './button-element';
(click)="elementModel.action ? navigationRequested.emit(elementModel.action) : false">
`,
styles: [
'.dynamic-image {width: 100%; height: fit-content}',
'.static-image {width: 100%; height: 100%; object-fit: contain}',
'.center-content {position: relative; top: 0; bottom: 0; left: 0;right: 0; margin: auto;}'
'.dynamic-image {width: 100%; height: fit-content;}',
'.static-image {width: 100%; height: 100%; object-fit: contain;}',
'.center-content {display: block; margin: auto; top: 50%; transform: translateY(-50%);}'
]
})
export class ButtonComponent extends ElementComponent {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment