Skip to content

Commit

Permalink
fix: log scrolls visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
oodamien committed Dec 5, 2023
1 parent 2753e99 commit 7bf4fa7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {TaskExecution} from '../../../../shared/model/task-execution.model';
template: ` <clr-modal [(clrModalOpen)]="isOpen" *ngIf="isOpen" clrModalSize="xl">
<h3 class="modal-title">{{ title }}</h3>
<div class="modal-body" style="padding:0;">
<div class="clr-log" style="margin: 0;padding:0" *ngIf="!loading && logs">
<div class="clr-log" *ngIf="!loading && logs">
<pre style="margin:0"><code>{{logs}}</code></pre>
</div>
<div *ngIf="loading">
Expand Down
8 changes: 4 additions & 4 deletions ui/src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ h1:not([cds-text]) {
}

.clr-log {
padding: 1rem 0;
padding: 0;
max-height: inherit;
margin: 0;

pre {
overflow: auto;
max-height: inherit;
max-height: 60vh;
background: var(--clr-header-6-bg-color, #00364d);
padding: 1rem;
color: var(--clr-header-title-color, #fafafa);
border: 0 none;
margin: 0;
overflow: auto;
}
}

Expand Down

0 comments on commit 7bf4fa7

Please sign in to comment.