some cleanup

This commit is contained in:
Ell 2022-08-21 17:49:57 +02:00
parent b805078fb1
commit 8b7c80d218
4 changed files with 12 additions and 15 deletions

3
.gitignore vendored
View file

@ -15,5 +15,8 @@ node_modules
# Exclude sourcemaps # Exclude sourcemaps
*.map *.map
# obsidian
workspace
# Exclude macOS Finder (System Explorer) View States # Exclude macOS Finder (System Explorer) View States
.DS_Store .DS_Store

File diff suppressed because one or more lines are too long

View file

@ -14,7 +14,7 @@ export class CustomFramesSettingTab extends PluginSettingTab {
display(): void { display(): void {
this.containerEl.empty(); this.containerEl.empty();
this.containerEl.createEl("h2", { text: "Custom Frames Settings" }); this.containerEl.createEl("h2", { text: "Custom Frames Settings" });
this.containerEl.createEl("p", { text: "Note that Obsidian has to be restarted or reloaded for most of these settings to take effect.", cls: "mod-warning" }); this.containerEl.createEl("p", { text: "Please note that Obsidian has to be restarted or reloaded for most of these settings to take effect.", cls: "mod-warning" });
new Setting(this.containerEl) new Setting(this.containerEl)
.setName("Frame Padding") .setName("Frame Padding")
@ -156,9 +156,7 @@ export class CustomFramesSettingTab extends PluginSettingTab {
} }
this.containerEl.createEl("hr"); this.containerEl.createEl("hr");
let info = this.containerEl.createEl("p", { text: "Create a new frame, either from a preset shipped with the plugin, or a custom one that you can edit yourself. Each frame's pane can be opened using the \"Custom Frames: Open\" command." }); this.containerEl.createEl("p", { text: "Create a new frame, either from a preset shipped with the plugin, or a custom one that you can edit yourself. Each frame's pane can be opened using the \"Custom Frames: Open\" command." });
info.createEl("br");
info.createSpan({ text: "Note that Obsidian has to be restarted or reloaded to activate a newly added frame.", cls: "mod-warning" });
let addDiv = this.containerEl.createDiv(); let addDiv = this.containerEl.createDiv();
let dropdown = new DropdownComponent(addDiv); let dropdown = new DropdownComponent(addDiv);

File diff suppressed because one or more lines are too long