Skip to content

Commit 40aa9bb

Browse files
committed
update layout
1 parent e405f95 commit 40aa9bb

5 files changed

Lines changed: 40 additions & 7 deletions

File tree

editor/src/app/components/scm/key-value-editor/key-value-editor.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
.scroll-container {
2222
flex: 1 1 auto;
2323
min-height: 0;
24-
max-height: calc(100% - 64px);
2524
overflow-y: auto;
2625
overflow-x: hidden;
2726
padding-right: 16px;
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
1+
:host {
2+
max-height: calc(100vh - 198px);
3+
display: flex;
4+
flex-direction: column;
5+
height: 100%;
6+
overflow: hidden;
7+
}
Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
.scroll-container {
2-
max-height: calc(100% - 64px);
3-
overflow: auto;
2+
flex: 1 1 auto;
3+
overflow-y: auto;
4+
overflow-x: hidden;
5+
min-height: 0;
6+
padding-right: 16px;
47
}
58

69
.sample {
710
margin-bottom: 0;
811
}
12+
13+
:host {
14+
max-height: calc(100vh - 198px);
15+
display: flex;
16+
flex-direction: column;
17+
height: 100%;
18+
overflow: hidden;
19+
}
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
1+
:host {
2+
max-height: calc(100vh - 198px);
3+
display: flex;
4+
flex-direction: column;
5+
height: 100%;
6+
overflow: hidden;
7+
}
Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
.scroll-container {
2-
max-height: calc(100% - 64px);
3-
overflow: auto;
2+
flex: 1 1 auto;
3+
overflow-y: auto;
4+
overflow-x: hidden;
5+
min-height: 0;
6+
padding-right: 16px;
47
}
58

69
.sample {
710
margin-bottom: 0;
811
}
12+
13+
:host {
14+
max-height: calc(100vh - 198px);
15+
display: flex;
16+
flex-direction: column;
17+
height: 100%;
18+
overflow: hidden;
19+
}

0 commit comments

Comments
 (0)