diff --git a/main.js b/main.js index a1d6572..5a11455 100644 --- a/main.js +++ b/main.js @@ -1403,8 +1403,7 @@ var TagsSettingTab = class extends import_impro_plugin.PluginSettingTab { display() { const tags = this.plugin.getAllTags(); this.containerEl.createEl("p", { - text: "Tag accounts from the post/profile menu \u2014 tags are private to you and synced across your devices.", - cls: "setting-item-desc" + text: "Tag accounts from the post/profile menu \u2014 tags are private to you and synced across your devices." }); new import_impro_plugin.Setting(this.containerEl).setName("Migrate a list to tags").setDesc("Bulk-tag every member of one of your Bluesky lists.").addButton( (button) => button.setButtonText("Choose a list").onClick(async () => { @@ -1423,15 +1422,13 @@ var TagsSettingTab = class extends import_impro_plugin.PluginSettingTab { ); if (tags.length === 0) { this.containerEl.createEl("p", { - text: "No tags yet. Tag an account from its profile or post menu to get started.", - cls: "setting-item-desc" + text: "No tags yet. Tag an account from its profile or post menu to get started." }); return; } - this.containerEl.createEl("h2", { - text: "Browse by tag", - cls: "setting-item-name" - }); + this.containerEl.createEl("h3", { + text: "Browse by tag" + }).setStyle("padding-bottom", 0); const browseTag = this._browseTag ?? tags[0]; new import_impro_plugin.Setting(this.containerEl).setName("Tag").addDropdown((dropdown) => { dropdown.addOptions(Object.fromEntries(tags.map((t) => [t, t]))); diff --git a/manifest.json b/manifest.json index 7fb10bd..f924922 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "tags", "name": "Tags", - "version": "0.4.4", + "version": "0.4.5", "author": "7778777.online", "description": "Privately tag accounts and see your tags next to them. Tags are stored in your account's private plugin settings — synced across your devices, visible only to you.", "permissions": { diff --git a/package.json b/package.json index 1f5c5d8..4b5d94a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tags", - "version": "0.4.4", + "version": "0.4.5", "type": "module", "scripts": { "start": "npm run watch", diff --git a/src/main.js b/src/main.js index 6850fe7..1887df4 100644 --- a/src/main.js +++ b/src/main.js @@ -1546,7 +1546,6 @@ class TagsSettingTab extends PluginSettingTab { this.containerEl.createEl("p", { text: "Tag accounts from the post/profile menu — tags are private to you and synced across your devices.", - cls: "setting-item-desc", }); new Setting(this.containerEl) @@ -1575,15 +1574,13 @@ class TagsSettingTab extends PluginSettingTab { if (tags.length === 0) { this.containerEl.createEl("p", { text: "No tags yet. Tag an account from its profile or post menu to get started.", - cls: "setting-item-desc", }); return; } - this.containerEl.createEl("h2", { + this.containerEl.createEl("h3", { text: "Browse by tag", - cls: "setting-item-name", - }); + }).setStyle("padding-bottom", 0); const browseTag = this._browseTag ?? tags[0]; new Setting(this.containerEl)