Add min-width to the permission column (#19675)

1. To avoid style confusion

Signed-off-by: AllForNothing <shijun.sun@broadcom.com>
This commit is contained in:
Shijun Sun 2023-12-07 13:37:45 +08:00 committed by GitHub
parent ed0a69cf80
commit f99a619bc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -136,7 +136,7 @@
<clr-dg-column>{{ <clr-dg-column>{{
'ROBOT_ACCOUNT.ENABLED_STATE' | translate 'ROBOT_ACCOUNT.ENABLED_STATE' | translate
}}</clr-dg-column> }}</clr-dg-column>
<clr-dg-column>{{ <clr-dg-column class="permission-col">{{
'ROBOT_ACCOUNT.SYSTEM_PERMISSIONS' | translate 'ROBOT_ACCOUNT.SYSTEM_PERMISSIONS' | translate
}}</clr-dg-column> }}</clr-dg-column>
<clr-dg-column class="projects-col">{{ <clr-dg-column class="projects-col">{{

View File

@ -42,3 +42,7 @@
.projects-col { .projects-col {
min-width: 14rem !important; min-width: 14rem !important;
} }
.permission-col {
min-width: 8rem !important;
}

View File

@ -141,7 +141,7 @@
<clr-dg-column>{{ <clr-dg-column>{{
'ROBOT_ACCOUNT.ENABLED_STATE' | translate 'ROBOT_ACCOUNT.ENABLED_STATE' | translate
}}</clr-dg-column> }}</clr-dg-column>
<clr-dg-column>{{ <clr-dg-column class="permission-col">{{
'SYSTEM_ROBOT.PERMISSION_COLUMN' | translate 'SYSTEM_ROBOT.PERMISSION_COLUMN' | translate
}}</clr-dg-column> }}</clr-dg-column>
<clr-dg-column [clrDgSortBy]="'creation_time'">{{ <clr-dg-column [clrDgSortBy]="'creation_time'">{{

View File

@ -31,3 +31,7 @@
.icon { .icon {
margin-top: 3px; margin-top: 3px;
} }
.permission-col {
min-width: 8rem !important;
}