Skip to content

Commit

Permalink
mgr/dashboard: Improve column spacing in alerts tab
Browse files Browse the repository at this point in the history
This PR intends to fix the column spacing in the alert list in the alerts tab

Fixes:https://tracker.ceph.com/issues/56165
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
  • Loading branch information
aaSharma14 committed Jun 22, 2022
1 parent ec3c779 commit ee740fb
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -33,12 +33,12 @@ export class RulesListComponent extends PrometheusListHelper implements OnInit {
ngOnInit() {
super.ngOnInit();
this.columns = [
{ prop: 'name', name: $localize`Name` },
{ prop: 'labels.severity', name: $localize`Severity` },
{ prop: 'group', name: $localize`Group` },
{ prop: 'duration', name: $localize`Duration`, pipe: new DurationPipe() },
{ prop: 'query', name: $localize`Query`, isHidden: true },
{ prop: 'annotations.description', name: $localize`Description` }
{ prop: 'name', name: $localize`Name`, flexGrow: 2 },
{ prop: 'labels.severity', name: $localize`Severity`, flexGrow: 1 },
{ prop: 'group', name: $localize`Group`, flexGrow: 1 },
{ prop: 'duration', name: $localize`Duration`, pipe: new DurationPipe(), flexGrow: 1 },
{ prop: 'query', name: $localize`Query`, isHidden: true, flexGrow: 1 },
{ prop: 'annotations.description', name: $localize`Description`, flexGrow: 3 }
];
}
}

0 comments on commit ee740fb

Please sign in to comment.