mirror of
https://github.com/snipd-app/snipd-obsidian.git
synced 2026-07-22 06:41:45 +00:00
Small settings ux adjustment and improve debug logging
This commit is contained in:
parent
727d74a9e8
commit
424cc7824b
3 changed files with 3 additions and 3 deletions
|
|
@ -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' });
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue