Wrap words in note content (#389)

* Fix word-wrap

* Document change

* Fix date
This commit is contained in:
Sung Won Cho 2020-01-09 08:19:21 +10:00 committed by GitHub
commit 186a2e089f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 8 deletions

View file

@ -14,7 +14,7 @@ The following log documents the history of the server project.
None
### 0.4.0 - 2020-01-08
### 0.4.0 - 2020-01-09
#### Added
@ -23,6 +23,7 @@ None
#### Fixed
- Send inactive reminders with a correct email type (#385)
- Wrap words in note content (#389)
### 0.3.4 - 2019-12-24

View file

@ -19,7 +19,6 @@
/* eslint-disable react/no-danger */
import React from 'react';
import classnames from 'classnames';
import { NoteData } from 'jslib/operations/types';
import { excerpt } from 'web/libs/string';
@ -77,7 +76,7 @@ const Content: React.SFC<Props> = ({ note, collapsed }) => {
</div>
) : (
<div
className={classnames('markdown-body', styles.content)}
className="markdown-body"
dangerouslySetInnerHTML={{
__html: formatContent(note.content)
}}

View file

@ -58,11 +58,6 @@
padding: rem(12px) rem(16px);
}
.content {
word-wrap: break-word;
word-break: break-all;
}
.collapsed-content {
color: $light-gray;
}