sidemenu shows

This commit is contained in:
2026-03-16 18:16:19 +01:00
parent 3bd359ee9e
commit 2173ad6abf
18 changed files with 226 additions and 59 deletions

View File

@@ -1,7 +1,21 @@
:host {
display: inline-flex;
}
:host(.full-width) {
display: flex;
width: 100%;
}
button {
color: var(--text);
transition: var(--transition);
:host(.full-width) & {
width: 100%;
justify-content: center;
}
&:hover {
color: var(--primary-active);
}

View File

@@ -9,8 +9,12 @@ import {FaIconComponent} from '@fortawesome/angular-fontawesome';
templateUrl: './button.component.html',
styleUrls: ['./button.component.less'],
imports: [MatButton, FaIconComponent],
host: {
'[class.full-width]': 'fullWidth',
},
})
export class ButtonComponent {
@Input() public disabled = false;
@Input() public fullWidth = false;
@Input() public icon: IconProp | null = null;
}