tidy AppConfig types, md-it shims, dead CSS

This commit is contained in:
Yuri Karamian
2026-06-08 21:21:54 +02:00
parent 4fb99c7e39
commit 9d82f2aed7
3 changed files with 7 additions and 15 deletions
-15
View File
@@ -1841,21 +1841,6 @@
padding: 2px 8px 4px;
}
.tag-edit-input {
width: 100%;
padding: 4px 8px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: var(--bg-secondary);
color: var(--text-primary);
font-size: 12px;
outline: none;
}
.tag-edit-input:focus {
border-color: var(--accent);
}
.tag-edit-list {
max-height: 160px;
overflow-y: auto;
+5
View File
@@ -0,0 +1,5 @@
// Ambient type shims for markdown-it plugins that ship without their own TypeScript
// declarations. Type-only; no runtime effect.
declare module 'markdown-it-mark';
declare module 'markdown-it-sub';
declare module 'markdown-it-sup';
+2
View File
@@ -65,6 +65,7 @@ export interface AppConfig {
pdf_height: number;
title_mode: string;
hide_title_in_body: boolean;
show_line_numbers: boolean;
backup_enabled: boolean;
backup_frequency: string;
backup_max_count: number;
@@ -83,6 +84,7 @@ export interface AppConfig {
ai_writing_style: string | null;
default_view_mode: boolean;
show_tray_icon: boolean;
close_to_tray: boolean;
enable_wiki_links: boolean;
restore_last_session: boolean;
sync_provider: string | null;