feat(TranslatePage.tsx): add markdown style to handle whitespace properly in translation output

This commit is contained in:
kangfenmao
2024-07-28 01:26:47 +08:00
parent 6c4d98bb98
commit f731b82937
2 changed files with 5 additions and 5 deletions
@@ -293,6 +293,9 @@ const OutputText = styled.div`
padding: 5px 10px;
max-height: calc(100vh - var(--navbar-height) - 120px);
overflow: auto;
.markdown {
white-space: pre-wrap;
}
`
const TranslateButton = styled(Button)`