mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
Merge pull request #5899 from pureshine/modify_space
Make the space between the button and the tab section consistent
This commit is contained in:
commit
407b46801b
@ -16,7 +16,7 @@
|
||||
<button type="button" class="btn btn-sm btn-secondary" [disabled]="!selectedRow.length" (click)="deleteLabels(selectedRow)"><clr-icon shape="times" size="16"></clr-icon> {{'LABEL.DELETE' | translate}}</button>
|
||||
<hbr-create-edit-label [scope]="scope" [projectId]="projectId" (reload)="reload()"></hbr-create-edit-label>
|
||||
</div>
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 content-mt">
|
||||
<clr-datagrid [clrDgLoading]="loading" [(clrDgSelected)]="selectedRow" (clrDgSelectedChange)="selectedChange()">
|
||||
<clr-dg-column [clrDgField]="'name'">{{'LABEL.LABEL' | translate}}</clr-dg-column>
|
||||
<clr-dg-column [clrDgField]="'endpoint'">{{'LABEL.DESCRIPTION' | translate}}</clr-dg-column>
|
||||
|
@ -22,3 +22,6 @@
|
||||
margin-top: 4px;
|
||||
height: 24px;
|
||||
}
|
||||
.content-mt {
|
||||
margin-top: -12px;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<div class="row" style="margin-top: 4px;position: relative;">
|
||||
<div class="row content-space">
|
||||
<div>
|
||||
<div class="row flex-items-xs-between rightPos">
|
||||
<div class="flex-xs-middle option-left" style="position: relative; top: 10px;">
|
||||
@ -31,7 +31,7 @@
|
||||
</clr-dropdown-menu>
|
||||
</clr-dropdown>
|
||||
</clr-dg-action-bar>
|
||||
<clr-datagrid [(clrDgSelected)]="selectedRow" [clrDgLoading]="loading">
|
||||
<clr-datagrid [(clrDgSelected)]="selectedRow" [clrDgLoading]="loading" class="datagrid-pt">
|
||||
<clr-dg-column>{{'MEMBER.NAME' | translate}}</clr-dg-column>
|
||||
<clr-dg-column>{{'MEMBER.MEMBER_TYPE'| translate}}</clr-dg-column>
|
||||
<clr-dg-column>{{'MEMBER.ROLE' | translate}}</clr-dg-column>
|
||||
|
@ -33,5 +33,12 @@ clr-datagrid {
|
||||
:host >>> clr-checkbox.checkbox.datagrid-foot-select {
|
||||
position: inherit;
|
||||
}
|
||||
.content-space {
|
||||
margin-top: 12px;
|
||||
position: relative;
|
||||
}
|
||||
.datagrid-pt {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="top: 8px;">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 label-top">
|
||||
<hbr-label [projectId]="projectId" [scope]="'p'" [hasProjectAdminRole]="hasProjectAdminRole"></hbr-label>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,3 @@
|
||||
.label-top {
|
||||
top: 12px;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
<div style="margin-top: 4px;">
|
||||
<div>
|
||||
<hbr-replication #replicationView [projectId]="projectIdentify" [projectName]="projectName" [isSystemAdmin]="isSystemAdmin" [withReplicationJob]='true' (goToRegistry)="goRegistry()"></hbr-replication>
|
||||
</div>
|
@ -1,4 +1,4 @@
|
||||
<div style="margin-top: 4px;">
|
||||
<div>
|
||||
<hbr-repository-gridview [projectId]="projectId" [projectName]="projectName" [hasSignedIn]="hasSignedIn"
|
||||
[hasProjectAdminRole]="hasProjectAdminRole" [mode]="mode"
|
||||
(repoClickEvent)="watchRepoClickEvent($event)"></hbr-repository-gridview>
|
||||
|
Loading…
Reference in New Issue
Block a user