mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-24 10:18:34 +01:00
added support section
This commit is contained in:
parent
dfbf454c3e
commit
377a210063
2 changed files with 11 additions and 4 deletions
5
main.ts
5
main.ts
|
@ -270,5 +270,10 @@ class CustomFramesSettingTab extends PluginSettingTab {
|
|||
await this.plugin.saveSettings();
|
||||
this.display();
|
||||
});
|
||||
|
||||
this.containerEl.createEl("hr");
|
||||
this.containerEl.createEl("p", { text: "If you like this plugin and want to support its development, you can do so through my website by clicking this fancy image!" });
|
||||
this.containerEl.createEl("a", { href: "https://ellpeck.de/support" })
|
||||
.createEl("img", { attr: { src: "https://ellpeck.de/res/generalsupport.png" }, cls: "custom-frames-support" });
|
||||
}
|
||||
}
|
10
styles.css
10
styles.css
|
@ -11,10 +11,12 @@
|
|||
background-clip: content-box;
|
||||
}
|
||||
|
||||
.custom-frames-add {
|
||||
padding: 0 0 18px 0;
|
||||
}
|
||||
|
||||
.custom-frames-add button {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.custom-frames-support {
|
||||
max-width: 50%;
|
||||
width: 400px;
|
||||
height: auto;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue