2022-10-28 07:40:50 -06:00
|
|
|
.monaco-editor-container,
|
|
|
|
.editor-loading.is-loading {
|
2021-04-08 03:53:00 -06:00
|
|
|
width: 100%;
|
|
|
|
min-height: 200px;
|
|
|
|
height: 90vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit.githook .monaco-editor-container {
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
height: 70vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* overwrite conflicting styles from fomantic */
|
|
|
|
.monaco-editor-container .inputarea {
|
|
|
|
min-height: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
resize: none !important;
|
|
|
|
border: none !important;
|
|
|
|
color: transparent !important;
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
2024-04-29 15:19:44 -06:00
|
|
|
.monaco-editor,
|
|
|
|
.monaco-editor .overflow-guard {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
2021-04-08 03:53:00 -06:00
|
|
|
/* these seem unthemeable */
|
|
|
|
.monaco-scrollable-element > .scrollbar > .slider {
|
|
|
|
background: var(--color-primary) !important;
|
|
|
|
}
|
|
|
|
.monaco-scrollable-element > .scrollbar > .slider:hover {
|
|
|
|
background: var(--color-primary-dark-1) !important;
|
|
|
|
}
|
|
|
|
.monaco-scrollable-element > .scrollbar > .slider:active {
|
|
|
|
background: var(--color-primary-dark-2) !important;
|
|
|
|
}
|
2023-04-25 23:31:50 -06:00
|
|
|
|
|
|
|
/* fomantic styles destroy this element only visible on IOS, restore it */
|
|
|
|
.monaco-editor .iPadShowKeyboard {
|
|
|
|
border: none !important;
|
|
|
|
width: 58px !important;
|
|
|
|
min-width: 0 !important;
|
|
|
|
height: 36px !important;
|
|
|
|
min-height: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
position: absolute !important;
|
|
|
|
resize: none !important;
|
|
|
|
overflow: hidden !important;
|
2023-08-28 13:43:59 -06:00
|
|
|
border-radius: var(--border-radius-medium) !important;
|
2023-04-25 23:31:50 -06:00
|
|
|
}
|