mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
0e57b40ba3
* Added tab for mardown descriptions * Some fixes * Fix dropdown menu theme * Track description editing
39 lines
746 B
Plaintext
39 lines
746 B
Plaintext
@import '../constants/dimensions';
|
|
@import '../constants/colors';
|
|
@import '../constants/fonts';
|
|
|
|
.markdown-editor {
|
|
border: 1px solid var(--hl-md);
|
|
box-sizing: border-box;
|
|
|
|
.markdown-editor__edit {
|
|
padding: @padding-xs @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: @padding-sm;
|
|
overflow: auto;
|
|
}
|
|
} |