apply css style at the right element (#14144)

* apply css style at the right element

* make mergeCss protected
This commit is contained in:
Alan Ren
2021-02-03 10:27:12 -08:00
committed by GitHub
parent b390052c86
commit 52a642f351
26 changed files with 155 additions and 58 deletions

View File

@@ -225,4 +225,11 @@ export default class RadioCardGroup extends ComponentBase<azdata.RadioCardGroupC
public onCardBlur(cardId: string): void {
this.focusedCardId = undefined;
}
public get CSSStyles(): azdata.CssStyles {
return this.mergeCss(super.CSSStyles, {
'width': this.getWidth(),
'height': this.getHeight()
});
}
}