Skip to content

Commit

Permalink
Add comments to stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
taichimaeda committed Apr 20, 2024
1 parent c0c3561 commit 65cd240
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
16 changes: 12 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 65cd240

Please sign in to comment.