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

@@ -18,7 +18,7 @@ import { attachInfoBoxStyler } from 'sql/platform/theme/common/styler';
@Component({
selector: 'modelview-infobox',
template: `
<div #container>
<div #container [ngStyle]="CSSStyles">
</div>`
})
export default class InfoBoxComponent extends ComponentBase<azdata.InfoBoxComponentProperties> implements IComponent, OnDestroy, AfterViewInit {