Skip to content

Commit

Permalink
fine tune ms-dialog style and terminal height
Browse files Browse the repository at this point in the history
  • Loading branch information
Pop John committed Sep 5, 2024
1 parent 3946bb4 commit 584b55f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
flex-direction: column;

.dialog-header {
min-height: 90px;
min-height: 60px;
background-color: var(--backgrounds-200);
box-sizing: border-box;
border-bottom: 1px solid var(--backgrounds-500);
Expand All @@ -32,7 +32,7 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 32px;
padding: 24px 32px;

.close-icon .icon-cancel {
color: var(--foregrounds-100) !important;
Expand All @@ -48,12 +48,12 @@
overflow-y: auto;
background-color: var(--backgrounds-100);
flex-grow: 1;
padding: 24px 32px;
padding: 16px 32px;
}

.dialog-actions {
background-color: var(--backgrounds-200);
padding: 20px 32px;
padding: 16px 32px;
box-sizing: border-box;
border-top: 1px solid var(--backgrounds-500);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
class="mat-error scale-on-hover"
>close</mat-icon
>
<mat-icon matSuffix *ngIf="!terminalSearch.searchControl.value">search</mat-icon>
<mat-icon matSuffix *ngIf="!terminalSearch.searchControl.value" class="mat-primary">search</mat-icon>
</mat-form-field>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class TerminalMessagesHistoryDialogComponent implements OnInit, OnDestroy

if (rightSideElement) {
let finalHeight: number;
const heightCorrection = 320;
const heightCorrection = 280;
finalHeight = rightSideElement.offsetHeight - heightCorrection;
this.terminalHistoryDiv.nativeElement.style.height = `${finalHeight}px`;
}
Expand Down

0 comments on commit 584b55f

Please sign in to comment.