Skip to content

Commit

Permalink
Extracted styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dsebastien committed May 23, 2024
1 parent 9d589b5 commit 1650ea0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/plugin/src/app/settingTab/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ export class SettingsTab extends PluginSettingTab {

containerEl.empty();

this.renderSupportHeader(containerEl);
this.renderApiKey(containerEl);
this.renderAutoRetweet(containerEl);
this.renderAutoPlug(containerEl);
this.renderThreadify(containerEl);
this.renderAutoSchedule(containerEl);
this.renderAppendTags(containerEl);
this.renderSupportHeader(containerEl);
}

renderApiKey(containerEl: HTMLElement) {
Expand Down Expand Up @@ -156,7 +156,7 @@ export class SettingsTab extends PluginSettingTab {

this.renderBuyMeACoffeeBadge(containerEl);
const spacing = containerEl.createDiv();
spacing.style.marginBottom = '0.75em';
spacing.classList.add('support-header-margin');
}

renderBuyMeACoffeeBadge(
Expand Down
3 changes: 3 additions & 0 deletions apps/plugin/src/assets/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/* Plugin Styles */
.support-header-margin {
margin-top: 0.75rem;
}

0 comments on commit 1650ea0

Please sign in to comment.