mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[PM-10799] Login UI Width (#10506)
* reset `maxWidth` attribute during page change * set default value for `maxWidth` if null or undefined is passed * implement `maxWidth` for extension implementation of Anon Layout
This commit is contained in:
@@ -76,6 +76,10 @@ export class AnonLayoutComponent implements OnInit, OnChanges {
|
||||
const theme = await firstValueFrom(this.themeStateService.selectedTheme$);
|
||||
await this.updateIcon(theme);
|
||||
}
|
||||
|
||||
if (changes.maxWidth) {
|
||||
this.maxWidth = changes.maxWidth.currentValue ?? "md";
|
||||
}
|
||||
}
|
||||
|
||||
private async updateIcon(theme: string) {
|
||||
|
||||
Reference in New Issue
Block a user