ACS-5374 Fixed lost styles for library details after refreshing page (#3296)

This commit is contained in:
AleksanderSklorz
2023-06-23 11:32:20 +02:00
committed by GitHub
parent 3b3d431945
commit 907529d0a8
2 changed files with 21 additions and 0 deletions

View File

@@ -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;
}
}
}
}

View File

@@ -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 {