fix autocomplete misalign, enable minimap, short padding for bottom

This commit is contained in:
Kyle Drake 2024-10-01 15:50:21 -05:00
parent 0daaf69e25
commit f29244bf20

View file

@ -28,7 +28,7 @@
line-height: normal; line-height: normal;
vertical-align: middle; vertical-align: middle;
padding: 0; padding: 0;
margin-bottom: 3px; margin-bottom: 1px;
} }
</style> </style>
@ -210,10 +210,14 @@
wordWrap: 'on', wordWrap: 'on',
wrappingIndent: 'same', wrappingIndent: 'same',
tabSize: 2, tabSize: 2,
minimap: { enabled: false }, minimap: { enabled: true },
padding: {
bottom: 25
}
}); });
setTheme(); setTheme();
// Handle change event for unsaved changes // Handle change event for unsaved changes
editor.onDidChangeModelContent(function() { editor.onDidChangeModelContent(function() {
$('a#saveButton,a#saveAndExitButton').css('opacity', 1); $('a#saveButton,a#saveAndExitButton').css('opacity', 1);