diff --git a/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.scss b/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.scss new file mode 100644 index 0000000000..66bb54325a --- /dev/null +++ b/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.scss @@ -0,0 +1,20 @@ +app-library-metadata-form { + .mat-form-field-infix { + position: relative; + width: 180px; + + .mat-form-field-label-wrapper { + position: absolute; + width: 100%; + pointer-events: none; + + .mat-form-field-label { + position: absolute; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + transform-origin: 0 0; + } + } + } +} diff --git a/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.ts b/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.ts index 63fefa5e2b..b04cc60cd8 100644 --- a/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.ts +++ b/projects/aca-content/src/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.ts @@ -64,6 +64,7 @@ export class InstantErrorStateMatcher implements ErrorStateMatcher { ], selector: 'app-library-metadata-form', templateUrl: './library-metadata-form.component.html', + styleUrls: ['./library-metadata-form.component.scss'], encapsulation: ViewEncapsulation.None }) export class LibraryMetadataFormComponent implements OnInit, OnChanges, OnDestroy {