Browse Source

Add transition to schema-name label.

pull/786/head
Sebastian 4 years ago
parent
commit
776a7a1133
  1. 2
      frontend/app/features/content/shared/references/reference-item.component.html
  2. 6
      frontend/app/features/content/shared/references/reference-item.component.scss

2
frontend/app/features/content/shared/references/reference-item.component.html

@ -21,7 +21,7 @@
</td>
<td class="cell-label" *ngIf="!isCompact">
<span class="badge badge-primary rounded-pill truncate-inline" [title]="content.schemaDisplayName">{{content.schemaDisplayName}}</span>
<span class="badge badge-primary rounded-pill truncate-inline">{{content.schemaDisplayName}}</span>
</td>
<td class="cell-actions">

6
frontend/app/features/content/shared/references/reference-item.component.scss

@ -25,11 +25,9 @@
position: relative;
.badge {
@include absolute(1.25rem, .75rem);
max-width: 500px;
position: absolute;
right: .75rem;
top: 1.25rem;
width: auto;
transition: .2s ease-in all;
}
}
}
Loading…
Cancel
Save