mirror of
https://github.com/goharbor/harbor
synced 2025-04-16 10:34:54 +00:00
Fix: Copy Pull Button Overlap with Tag Immutable Label (#21720)
fix: copy button overlap with tag immutable - fix copy button overlap with tag immutable label on artifact-tag component - update css to fix this issue Signed-off-by: bupd <bupdprasanth@gmail.com> Co-authored-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
parent
3407776e38
commit
816667c794
|
@ -27,6 +27,6 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: start;
|
||||
align-items: flex-start;
|
||||
gap: 20px;
|
||||
}
|
||||
|
|
|
@ -127,18 +127,20 @@
|
|||
title="{{ tag.name }}"
|
||||
>{{ tag.name }}</span
|
||||
>
|
||||
<span *ngIf="tag.immutable" class="label label-info ml-8">{{
|
||||
'REPOSITORY.IMMUTABLE' | translate
|
||||
}}</span>
|
||||
<app-pull-command
|
||||
class="pull-btn"
|
||||
[isTagMode]="true"
|
||||
[artifact]="artifactDetails"
|
||||
[accessoryType]="accessoryType"
|
||||
[registryUrl]="registryUrl"
|
||||
[projectName]="projectName"
|
||||
[repoName]="repositoryName"
|
||||
[selectedTag]="tag.name"></app-pull-command>
|
||||
<div class="pull-label">
|
||||
<span *ngIf="tag.immutable" class="label label-info ml-8">{{
|
||||
'REPOSITORY.IMMUTABLE' | translate
|
||||
}}</span>
|
||||
<app-pull-command
|
||||
class="pull-btn"
|
||||
[isTagMode]="true"
|
||||
[artifact]="artifactDetails"
|
||||
[accessoryType]="accessoryType"
|
||||
[registryUrl]="registryUrl"
|
||||
[projectName]="projectName"
|
||||
[repoName]="repositoryName"
|
||||
[selectedTag]="tag.name"></app-pull-command>
|
||||
</div>
|
||||
</div>
|
||||
</clr-dg-cell>
|
||||
<clr-dg-cell>{{
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
position: relative;
|
||||
|
||||
.label {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
@ -45,6 +44,15 @@
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.pull-label {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
gap: 8px;
|
||||
align-content: flex-end;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.refresh-btn {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user