mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-13 22:05:21 +01:00
Fix overlapping for repo cardview (#16125)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
f3d1468458
commit
d9a4f34819
@ -1,6 +1,6 @@
|
|||||||
.grid-content {
|
.grid-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 36px;
|
top: 66px;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -96,10 +96,10 @@
|
|||||||
<clr-icon shape="caret down"></clr-icon>
|
<clr-icon shape="caret down"></clr-icon>
|
||||||
</button>
|
</button>
|
||||||
<clr-dropdown-menu clrPosition="top-left" *clrIfOpen>
|
<clr-dropdown-menu clrPosition="top-left" *clrIfOpen>
|
||||||
<button *ngIf="withAdmiral" type="button" class="btn btn-link" clrDropdownItem (click)="itemAddInfoEvent($event, item)" [disabled]="!hasProjectAdminRole">
|
<button *ngIf="withAdmiral" type="button" class="btn btn-link" clrDropdownItem (click)="itemAddInfoEvent($event, item);$event.stopPropagation();$event.preventDefault()" [disabled]="!hasProjectAdminRole">
|
||||||
{{'REPOSITORY.ADDITIONAL_INFO' | translate}}
|
{{'REPOSITORY.ADDITIONAL_INFO' | translate}}
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-link" clrDropdownItem (click)="deleteItemEvent($event, item)" [disabled]="!hasDeleteRepositoryPermission">
|
<button type="button" class="btn btn-link" clrDropdownItem (click)="deleteItemEvent($event, item);$event.stopPropagation();$event.preventDefault()" [disabled]="!hasDeleteRepositoryPermission">
|
||||||
{{'REPOSITORY.DELETE' | translate}}
|
{{'REPOSITORY.DELETE' | translate}}
|
||||||
</button>
|
</button>
|
||||||
</clr-dropdown-menu>
|
</clr-dropdown-menu>
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
.rightPos{
|
.rightPos{
|
||||||
@include grid-right-top-pos;
|
@include grid-right-top-pos;
|
||||||
top: 22px;
|
top: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar {
|
.toolbar {
|
||||||
|
Loading…
Reference in New Issue
Block a user