mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 11:55:39 +00:00
Improve artifact icon style
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
b8804ef363
commit
83f457e725
|
@ -9,7 +9,7 @@
|
|||
</clr-dg-action-overflow>
|
||||
<clr-dg-cell>
|
||||
<div class="cell">
|
||||
<div title="{{a?.digest}}" class="artifact-icon clr-display-inline-block">
|
||||
<div title="{{a?.digest}}" class="artifact-icon-div clr-display-inline-block">
|
||||
<img *ngIf="getIcon(a.icon)" class="artifact-icon" [title]="a.type"
|
||||
[src]="getIcon(a.icon)" (error)="showDefaultIcon($event)" />
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
.artifact-icon {
|
||||
width: 2.5rem;
|
||||
height: 0.8rem;
|
||||
}
|
||||
.artifact-icon-div {
|
||||
text-align: center;
|
||||
width: 2.5rem
|
||||
}
|
||||
.cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in New Issue
Block a user