Skip to content

Commit

Permalink
fix for when switching themes
Browse files Browse the repository at this point in the history
  • Loading branch information
kisantia committed Apr 6, 2020
1 parent b26f16f commit 96b826e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ export class PropertiesWidgetComponent extends DashboardWidget implements IDashb
}

private updateTheme(theme: IColorTheme): void {
if (!theme.getColor(contrastBorder)) {
if (theme.getColor(contrastBorder)) {
this._container.nativeElement.style.borderBottom = 'none';
} else {
const border = theme.getColor(DASHBOARD_BORDER);
this._container.nativeElement.style.borderBottom = '1px solid ' + border.toString();
}
Expand Down

0 comments on commit 96b826e

Please sign in to comment.