mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 15:19:09 +01:00
b1dd1ba48f
- Update all JS dependencies to latest version - Disable two redundant eslint rules - Adapt stylelint config to codebase - Regenerate SVGs - Make file editor spinner "reserve" height so page does not shift - Tested katex, swagger, monaco Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
33 lines
871 B
Text
33 lines
871 B
Text
.monaco-editor-container,
|
|
.editor-loading.is-loading {
|
|
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;
|
|
}
|
|
|
|
/* 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;
|
|
}
|