Skip to content

Commit

Permalink
Merged in DSC-744-with-pre (pull request DSpace#318)
Browse files Browse the repository at this point in the history
[DSC-744] Use <pre> to format license conditions

Approved-by: Giuseppe Digilio
  • Loading branch information
Davide Negretti authored and atarix83 committed Oct 13, 2023
2 parents 4645448 + afa0248 commit e9b5cc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<span class="mb-5" [innerHTML]="licenseText$ | async"></span>
<br> <br>
<pre class="d-flex license-text mb-4 px-3" [innerHTML]="licenseText$ | async"></pre>
<ds-form *ngIf="formModel" #formRef="formComponent"
[formId]="formId"
[formModel]="formModel"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.license-text {
max-height: 250px;
overflow-y: scroll;
white-space: pre-wrap;
}

0 comments on commit e9b5cc8

Please sign in to comment.