fix height of console messages and fix #74
This commit is contained in:
parent
b79cec93b0
commit
515febceb2
1 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
||||||
background: $console-light-background-color;
|
background: $console-light-background-color;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
& > {
|
& > {
|
||||||
position:relative;
|
position:relative;
|
||||||
|
@ -13,14 +15,17 @@
|
||||||
// assign styles to different types of console messages
|
// assign styles to different types of console messages
|
||||||
.preview-console__log {
|
.preview-console__log {
|
||||||
color: $dark-secondary-text-color;
|
color: $dark-secondary-text-color;
|
||||||
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-console__error {
|
.preview-console__error {
|
||||||
color: $console-error-color;
|
color: $console-error-color;
|
||||||
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-console__warn {
|
.preview-console__warn {
|
||||||
color: $console-warn-color;
|
color: $console-warn-color;
|
||||||
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +46,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: #{121 / $base-font-size}rem;
|
flex: 1 0 0%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue