Fix overlapping for repo cardview (#16125)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
孙世军 2021-12-16 13:49:20 +08:00 committed by GitHub
parent f3d1468458
commit d9a4f34819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
.grid-content {
position: relative;
top: 36px;
top: 66px;
left: 0;
right: 0;
bottom: 0;

View File

@ -96,10 +96,10 @@
<clr-icon shape="caret down"></clr-icon>
</button>
<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}}
</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}}
</button>
</clr-dropdown-menu>

View File

@ -42,7 +42,7 @@
.rightPos{
@include grid-right-top-pos;
top: 22px;
top: 18px;
}
.toolbar {