mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-06-07 02:40:51 +00:00
478ef3bce7
Since the front-end received much more code (features) than first expected, the files became much too large. For this reason, the JS and CSS code has now been split by component and thus into several small files. However, since there are now many small files, a JS and CSS bundle tool had to come :D.
29 lines
656 B
CSS
29 lines
656 B
CSS
/*************
|
|
* Editor CSS *
|
|
**************/
|
|
|
|
.editor {
|
|
border: 3px solid var(--border-color);
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
@media screen and (max-width: 900px) {
|
|
.editor {
|
|
height: 20em;
|
|
}
|
|
}
|
|
.editor .monaco-editor-container {
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
#monaco-editor {
|
|
height: 100%;
|
|
}
|
|
/* Hack to display the icons and emojis in the auto completion documentation in a visible size.
|
|
* (see PlantUmlLanguageFeatures.register{Icon,Emoji}Completion) */
|
|
#monaco-editor .overlayWidgets .suggest-details p img[alt="icon"],
|
|
#monaco-editor .overlayWidgets .suggest-details p img[alt="emoji"] {
|
|
height: 1.2rem;
|
|
}
|