mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
1770319ac2
* Created css vars for every less var * Finish converting Less var to CSS vars
36 lines
668 B
Plaintext
36 lines
668 B
Plaintext
.markdown-editor {
|
|
border: 1px solid var(--hl-md);
|
|
box-sizing: border-box;
|
|
|
|
.markdown-editor__edit {
|
|
padding: var(--padding-xs) var(--padding-sm);
|
|
}
|
|
|
|
&.markdown-editor--dynamic-height {
|
|
.CodeMirror-scroll {
|
|
// Not sure why this style doesn't work on .CodeMirror...
|
|
max-height: 30vh;
|
|
}
|
|
|
|
.input {
|
|
height: auto !important;
|
|
}
|
|
}
|
|
|
|
&:not(.markdown-editor--dynamic-height) .markdown-editor__edit {
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-rows: 1fr auto;
|
|
|
|
.input {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.markdown-editor__preview {
|
|
max-height: 35vh;
|
|
padding: var(--padding-sm);
|
|
overflow: auto;
|
|
}
|
|
}
|