Skip to content

Commit

Permalink
Change buymeacoffe to ko-fi
Browse files Browse the repository at this point in the history
  • Loading branch information
phibr0 committed Jul 21, 2022
1 parent 5aba654 commit 69f7e0b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "obsidian-dictionary-plugin",
"name": "Dictionary",
"version": "2.21.0",
"version": "2.21.1",
"minAppVersion": "0.12.11",
"description": "This is a simple dictionary for the Obsidian Note-Taking Tool.",
"author": "phibr0",
"authorUrl": "https://github.com/phibr0",
"isDesktopOnly": false
}
}
2 changes: 1 addition & 1 deletion src/ui/settings/settingsTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export default class SettingsTab extends PluginSettingTab {
.setDesc(t('If you like this Plugin, consider donating to support continued development:'))
.setClass("extra")
.addButton((bt) => {
bt.buttonEl.outerHTML = `<a href="https://www.buymeacoffee.com/phibr0"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=phibr0&button_colour=5F7FFF&font_colour=ffffff&font_family=Inter&outline_colour=000000&coffee_colour=FFDD00"></a>`;
bt.buttonEl.outerHTML = `<a href="https://ko-fi.com/phibr0"><img src="https://uploads-ssl.webflow.com/5c14e387dab576fe667689cf/61e11e22d8ff4a5b4a1b3346_Supportbutton-1.png"></a>`;
});
}

Expand Down
40 changes: 21 additions & 19 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
.setting-item.extra > .setting-item-info {
opacity: 0.65;
opacity: 0.65;
}

a[href="https://www.buymeacoffee.com/phibr0"] > img {
height: 2.2em;
a[href="https://ko-fi.com/phibr0"] > img
{
height: 3em;
}

a[href="https://www.buymeacoffee.com/phibr0"]{
transform: translate(0, 5%);
a[href="https://ko-fi.com/phibr0"]
{
transform: translate(0, 5%);
}

.dictionaryprefixsuffix .setting-item-control input{
margin-left: 0.5rem;
.dictionaryprefixsuffix .setting-item-control input {
margin-left: 0.5rem;
}

.dictionarytextarea .setting-item-control textarea{
height: 15em;
width: 100%;
resize: vertical;
.dictionarytextarea .setting-item-control textarea {
height: 15em;
width: 100%;
resize: vertical;
}

.dictionarycenter{
text-align: center;
.dictionarycenter {
text-align: center;
}

.dictionarybuttons{
display: flex;
place-content: center;
.dictionarybuttons {
display: flex;
place-content: center;
}

.dictionary-view-content{
overflow-y: hidden !important;
}
.dictionary-view-content {
overflow-y: hidden !important;
}

0 comments on commit 69f7e0b

Please sign in to comment.