Skip to content

Commit

Permalink
fix: too much padding of code
Browse files Browse the repository at this point in the history
  • Loading branch information
sunner committed Jun 23, 2023
1 parent 0c6a6cd commit 95c7527
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ export const applyTheme = (theme, vuetifyTheme) => {
document
.querySelectorAll(`style#${MARKDOWN_STYLE_ID}, style#${HIGHLIGHT_STYLE_ID}`)
.forEach((e) => e.remove()); // remove previous style
addStyle(
MARKDOWN_STYLE_ID,
theme === Theme.DARK ? markdownDark : markdownLight,
);
addStyle(
HIGHLIGHT_STYLE_ID,
theme === Theme.DARK ? highlightDark : highlightLight,
);
addStyle(
MARKDOWN_STYLE_ID,
theme === Theme.DARK ? markdownDark : markdownLight,
);
};

const addStyle = (id, css) => {
Expand Down

1 comment on commit 95c7527

@vercel
Copy link

@vercel vercel bot commented on 95c7527 Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

chatall – ./

chatall-sunner.vercel.app
chatall-llm.vercel.app
chatall-git-main-sunner.vercel.app

Please sign in to comment.