Selaa lähdekoodia

Merge pull request #162 from HimiCos/main

fix: dialog height
Yifei Zhang 1 vuosi sitten
vanhempi
commit
73b2ede53a
2 muutettua tiedostoa jossa 1 lisäystä ja 5 poistoa
  1. 0 1
      app/components/markdown.tsx
  2. 1 4
      app/styles/markdown.scss

+ 0 - 1
app/components/markdown.tsx

@@ -34,7 +34,6 @@ export function Markdown(props: { content: string }) {
       components={{
         pre: PreCode,
       }}
-      className="line-break"
     >
       {props.content}
     </ReactMarkdown>

+ 1 - 4
app/styles/markdown.scss

@@ -1116,7 +1116,4 @@
 
 .markdown-body ::-webkit-calendar-picker-indicator {
   filter: invert(50%);
-}
-.markdown-body .line-break {
-  white-space: pre-wrap;
-}
+}