1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-27 17:19:43 +02:00

fix: Fix markdown options and styles

This commit is contained in:
Maksim Eltyshev 2022-04-22 02:06:12 +05:00
parent 4371e16c8d
commit e3d1d36857
5 changed files with 961 additions and 27 deletions

View file

@ -38,9 +38,9 @@ const ItemComment = React.memo(
</div>
<CommentEdit ref={commentEdit} defaultData={data} onUpdate={onUpdate}>
<>
<Markdown linkTarget="_blank" className={styles.text}>
{data.text}
</Markdown>
<div className={styles.text}>
<Markdown linkTarget="_blank">{data.text}</Markdown>
</div>
{canEdit && (
<Comment.Actions>
<Comment.Action

View file

@ -34,13 +34,6 @@
max-width: 100%;
overflow: hidden;
padding: 8px 12px;
text-overflow: ellipsis;
white-space: pre-line;
word-break: break-word;
img {
max-width: 100%;
}
}
.title {

View file

@ -115,23 +115,13 @@
border: none;
color: #17394d;
cursor: pointer;
line-height: 1.5;
font-size: 15px;
margin-bottom: 8px;
outline: none;
overflow: hidden;
overflow-wrap: break-word;
padding: 0;
text-align: left;
width: 100%;
p {
white-space: pre-line;
}
img {
max-width: 100%;
}
}
.grid {