Skip to content

Commit

Permalink
Add min-width to the permission column (goharbor#19675)
Browse files Browse the repository at this point in the history
1. To avoid style confusion

Signed-off-by: AllForNothing <shijun.sun@broadcom.com>
Signed-off-by: Altynbaev Dinislam <altynbayevdr@sberautotech.ru>
  • Loading branch information
AllForNothing authored and Altynbaev Dinislam committed Jan 29, 2024
1 parent 2fe5ade commit 864e433
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h2 class="custom-h2">{{ 'SYSTEM_ROBOT.ROBOT_ACCOUNT_NAV' | translate }}</h2>
<clr-dg-column>{{
'ROBOT_ACCOUNT.ENABLED_STATE' | translate
}}</clr-dg-column>
<clr-dg-column>{{
<clr-dg-column class="permission-col">{{
'ROBOT_ACCOUNT.SYSTEM_PERMISSIONS' | translate
}}</clr-dg-column>
<clr-dg-column class="projects-col">{{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@
.projects-col {
min-width: 14rem !important;
}

.permission-col {
min-width: 8rem !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<clr-dg-column>{{
'ROBOT_ACCOUNT.ENABLED_STATE' | translate
}}</clr-dg-column>
<clr-dg-column>{{
<clr-dg-column class="permission-col">{{
'SYSTEM_ROBOT.PERMISSION_COLUMN' | translate
}}</clr-dg-column>
<clr-dg-column [clrDgSortBy]="'creation_time'">{{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@
.icon {
margin-top: 3px;
}

.permission-col {
min-width: 8rem !important;
}

0 comments on commit 864e433

Please sign in to comment.