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>
<td class="cell-label" *ngIf="!isCompact"> <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>
<td class="cell-actions"> <td class="cell-actions">

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

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