mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-14 14:59:08 +01:00
added a warning to the padding description
This commit is contained in:
parent
ce2bd9af3a
commit
0ab4c18082
1 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,13 @@ export class CustomFramesSettingTab extends PluginSettingTab {
|
|||
|
||||
new Setting(this.containerEl)
|
||||
.setName("Frame Padding")
|
||||
.setDesc("The padding that should be left around the inside of custom frame panes, in pixels.")
|
||||
.setDesc(createFragment(f => {
|
||||
f.createSpan({ text: "The padding that should be left around the inside of custom frame panes, in pixels." });
|
||||
f.createEl("br");
|
||||
f.createEl("em", { text: "Note that decreasing this padding too much will increase the likelihood of a " });
|
||||
f.createEl("a", { text: "known issue", href: "https://github.com/Ellpeck/ObsidianCustomFrames#%EF%B8%8F-known-issues" });
|
||||
f.createEl("em", { text: "." });
|
||||
}))
|
||||
.addText(t => {
|
||||
t.inputEl.type = "number";
|
||||
t.setValue(String(this.plugin.settings.padding));
|
||||
|
|
Loading…
Reference in a new issue