Fixes style on title of dataset temlate preview and adds margin on expansion panels

This commit is contained in:
apapachristou 2020-10-30 14:15:49 +02:00
parent d27f8301c6
commit 45979922d5
4 changed files with 8 additions and 2 deletions

View File

@ -20,7 +20,7 @@ export class DatasetEditorComponent extends BaseComponent {
@Input() availableProfiles: DatasetProfileModel[]; @Input() availableProfiles: DatasetProfileModel[];
@Input() dmpId: string; @Input() dmpId: string;
showUri: boolean = false; showUri: boolean = false;
dmpText: string; dmpText: string = null;
viewOnly = false; viewOnly = false;
constructor( constructor(

View File

@ -1,6 +1,6 @@
<div class="template-container"> <div class="template-container">
<div mat-dialog-title class="row d-flex m-0 header"> <div mat-dialog-title class="row d-flex m-0 header">
<span class="template-title align-self-center">{{'DMP-LISTING.COLUMNS.PROFILE' | translate}} - {{data.template.label}}</span> <span class="template-title align-self-center" matTooltip="{{data.template.label}}">{{'DMP-LISTING.COLUMNS.PROFILE' | translate}} - {{data.template.label}}</span>
<span class="ml-auto align-self-center" (click)="closeDialog()"><mat-icon class="close-icon">close</mat-icon></span> <span class="ml-auto align-self-center" (click)="closeDialog()"><mat-icon class="close-icon">close</mat-icon></span>
</div> </div>
<div *ngIf="progressIndication" class="progress-bar"> <div *ngIf="progressIndication" class="progress-bar">

View File

@ -10,6 +10,10 @@
.template-title { .template-title {
margin-left: 37px; margin-left: 37px;
white-space: nowrap;
width: 480px;
overflow: hidden;
text-overflow: ellipsis;
} }
.close-icon { .close-icon {

View File

@ -2,6 +2,8 @@
.expansion-panel { .expansion-panel {
// background-color: #eeeeee54; // background-color: #eeeeee54;
background-color: white; background-color: white;
margin-top: 1em;
margin-bottom: 1em;
// margin-bottom: 1em; // margin-bottom: 1em;
} }
.addOneFieldButton { .addOneFieldButton {