Small settings ux adjustment and improve debug logging

This commit is contained in:
snipd-min 2026-01-22 17:40:02 +01:00
parent 727d74a9e8
commit 424cc7824b
3 changed files with 3 additions and 3 deletions

View file

@ -105,8 +105,7 @@ export class SnipdSettingModal extends PluginSettingTab {
if (!this.plugin.settings.apiKey) {
const authSection = containerEl.createDiv({ cls: 'snipd-auth-section' });
const title = new Setting(authSection).setName("Connect Obsidian to Snipd").setHeading();
title.settingEl.addClass('snipd-auth-heading');
authSection.createEl('div', { text: 'Connect Obsidian to Snipd', cls: 'snipd-auth-heading' });
const subtitleRow = authSection.createDiv({ cls: 'snipd-auth-subtitle-row' });

View file

@ -8,7 +8,7 @@ export const isDev = (): boolean => {
export const debugLog = (...args: unknown[]): void => {
if (isDev()) {
globalThis.console.debug(...args);
globalThis.console.log('[Snipd]', ...args);
}
};

View file

@ -186,6 +186,7 @@ If your plugin does not need CSS, delete this file.
.snipd-auth-heading {
margin-top: 0;
font-weight: 600;
}
.snipd-reset-button {