Skip to content

Commit

Permalink
Merge pull request #274 from iceljc/features/refine-chat-window
Browse files Browse the repository at this point in the history
fix markdown styles
  • Loading branch information
iceljc authored Nov 13, 2024
2 parents b166c59 + 021b029 commit ef71903
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/lib/scss/custom/components/_markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
overflow-x: auto;
scrollbar-width: thin;

&:has(.language-sql),
&:has(.language-java),
&:has(.language-javascript),
&:has(.language-typescript),
&:has(.language-csharp),
&:has(.language-python),
&:has(.language-json) {
background-color: black;
color: white !important;
border-radius: 5px;
padding: 5px 10px;
}

pre {
-ms-overflow-style: none !important;
white-space: pre-wrap;
margin-top: 1em;
margin-bottom: 1em;

&:has(.language-sql),
&:has(.language-java),
&:has(.language-javascript),
&:has(.language-typescript),
&:has(.language-csharp),
&:has(.language-python),
&:has(.language-json) {
background-color: black;
color: white !important;
border-radius: 5px;
padding: 5px 10px;
}
}

pre::-webkit-scrollbar {
Expand Down

0 comments on commit ef71903

Please sign in to comment.