From 65cd2403f89df5b25726c295096d1777238b8fbb Mon Sep 17 00:00:00 2001 From: Taichi Maeda Date: Sat, 20 Apr 2024 22:57:51 +0900 Subject: [PATCH] Add comments to stylesheet --- src/main.ts | 3 +++ styles.css | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 75970c5..1337b37 100644 --- a/src/main.ts +++ b/src/main.ts @@ -283,6 +283,9 @@ export default class Markpilot extends Plugin { } updateChatView() { + // TODO: + // This does not fully update the chat view. + // For example if anything becomes stale in the fetcher closure, it will not be updated. if (this.settings.chat.enabled) { this.activateView(); } else { diff --git a/styles.css b/styles.css index 343c21d..ae3b877 100644 --- a/styles.css +++ b/styles.css @@ -1,13 +1,21 @@ -/* Hide Unicode math symbols displayed by Rehype's KaTex plugin */ -.katex-html { - display: none; -} +/************************************************************/ +/* Inline completions */ +/************************************************************/ /* Show inline completions text with less opacity */ .markpilot-completions { opacity: 0.5; } +/************************************************************/ +/* Chat view */ +/************************************************************/ + +/* Hide Unicode math symbols displayed by Rehype's KaTex plugin */ +.katex-html { + display: none; +} + .markpilot-chat-root { display: flex; flex-direction: column;