From: pujaoshahu Date: Thu, 24 Oct 2024 14:10:45 +0000 (+0530) Subject: mgr/dashboard:Roles section is not aligned with column name X-Git-Tag: v20.0.0~748^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F60476%2Fhead;p=ceph.git mgr/dashboard:Roles section is not aligned with column name Fixes:https://tracker.ceph.com/issues/68706 Signed-off-by:Puja Shahu pshahu@redhat.com Signed-off-by: pujaoshahu --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.ts index 244a7861b27b..8b2c9f1eca3e 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.ts @@ -31,28 +31,28 @@ export class RoleDetailsComponent implements OnChanges, OnInit { prop: 'read', name: $localize`Read`, flexGrow: 1, - cellClass: 'text-center', + cellClass: 'text-left', cellTransformation: CellTemplate.checkIcon }, { prop: 'create', name: $localize`Create`, flexGrow: 1, - cellClass: 'text-center', + cellClass: 'text-left', cellTransformation: CellTemplate.checkIcon }, { prop: 'update', name: $localize`Update`, flexGrow: 1, - cellClass: 'text-center', + cellClass: 'text-left', cellTransformation: CellTemplate.checkIcon }, { prop: 'delete', name: $localize`Delete`, flexGrow: 1, - cellClass: 'text-center', + cellClass: 'text-left', cellTransformation: CellTemplate.checkIcon } ]; diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.ts index c9640e4ffabb..8e7e12b36920 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.ts @@ -99,7 +99,7 @@ export class RoleListComponent extends ListWithDetails implements OnInit { { name: $localize`System Role`, prop: 'system', - cellClass: 'text-center', + cellClass: 'text-left', flexGrow: 1, cellTransformation: CellTemplate.checkIcon }