Modal Space Issue Resolution

This commit is contained in:
Ozan Tellioglu 2023-03-12 20:27:26 +01:00
parent baaa6884f6
commit d281958d91

View file

@ -43,9 +43,13 @@ export class CreateNoteModal extends Modal {
folderInputEl = contentEl.createEl('input');
new FolderSuggest(folderInputEl);
folderInputEl.value = this.plugin.settings.defaultFolder;
folderInputEl.style.cssText = inputCss + '; margin-bottom: 15px;';
folderInputEl.style.cssText = inputCss;
}
// Additional Space
let addSpace = contentEl.createEl('div');
addSpace.style.cssText = 'height: 20px;';
// Create - Cancel Buttons
const createButton = contentEl.createEl('button', { text: 'Create Note' });
const cancelButton = contentEl.createEl('button', { text: 'Cancel' });