Setting context menu bg color; aligning minimap scroll styling; adding wrap mode for minimap to remove hscroll bar

This commit is contained in:
2025-07-26 01:28:03 -05:00
parent 822d778008
commit 2ede33f3c2
3 changed files with 4 additions and 17 deletions

View File

@@ -203,8 +203,8 @@ export class CodeViewBase {
this.editor.setHighlightGutterLine(false);
this.editor.setShowFoldWidgets(false);
this.editor.setShowPrintMargin(false);
this.editor.session.setUseWrapMode(true);
this.editorElm.nativeElement.parentElement.classList.remove("scroller");
this.editorElm.nativeElement.parentElement.classList.add("col-1");
this.editorElm.nativeElement.parentElement.classList.add("zero-margin-padding");

View File

@@ -1,19 +1,3 @@
/*
.editor {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.editor {
height: 100vh;
width: auto;
}
*/
.editor {
position: relative;
height: 100%;
@@ -36,6 +20,7 @@
padding: 0.2em;
top: 0em;
right: 0em;
background-color: gray;
}
.contextMenu li:hover {

View File

@@ -281,6 +281,8 @@ export class CodeViewComponent extends CodeViewBase {
}
session.setMode( file.session.getMode()["$id"] );
session.setUseWrapMode(true);
this.editor.setSession(session);
}