Skip to content

Commit

Permalink
fix(server-setting): fill available region
Browse files Browse the repository at this point in the history
  • Loading branch information
ElonH committed Jun 8, 2020
1 parent 078675a commit 618d0e0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { ServerSettingService } from './server-setting.service';
styles: [
`
nb-card {
margin: 1rem 1.25rem;
margin: 0;
}
nb-card-header {
display: flex;
Expand All @@ -48,8 +48,7 @@ import { ServerSettingService } from './server-setting.service';
overflow-y: hidden;
}
:host ngx-monaco-editor {
height: 40rem;
max-height: calc(100vh - 4.75rem - 2rem - 4.25rem - 1rem);
height: calc(100vh - 4.75rem - 4.25rem - 0.15rem);
}
:host ngx-monaco-editor ::ng-deep .editor-container {
height: 100%;
Expand Down

0 comments on commit 618d0e0

Please sign in to comment.