Skip to content

Commit

Permalink
fix: add white-space css to preserve paragraphs in interpretations (#…
Browse files Browse the repository at this point in the history
…1599)

Fixes DHIS2-16365
  • Loading branch information
jenniferarnesen authored Jan 2, 2024
1 parent b2751a3 commit 52ae98d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Interpretations/common/Message/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const Message = ({ children, text, created, username }) => {
line-height: 19px;
color: ${colors.grey900};
word-break: break-word;
white-space: pre-line;
}
.content :global(p:first-child) {
Expand Down

0 comments on commit 52ae98d

Please sign in to comment.