fix: list space styled and hidden message toolbar when editmode (#4773)

This commit is contained in:
Faisal Amir 2025-03-03 20:42:07 +07:00 committed by GitHub
parent 889ab953e0
commit c79c10c96b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 7 deletions

View File

@ -133,7 +133,7 @@ const MessageContainer: React.FC<
)} )}
</div> </div>
<MessageToolbar message={props} /> {editMessage !== props.id && <MessageToolbar message={props} />}
</div> </div>
<div <div
className={twMerge( className={twMerge(

View File

@ -94,15 +94,12 @@
.markdown-content { .markdown-content {
ol, ol,
ul { ul {
list-style: auto;
padding-left: 16px; padding-left: 16px;
white-space: normal;
list-style-position: inside;
li { li {
line-height: 2; line-height: 2;
} }
} }
ol {
list-style: number;
}
ul {
list-style: disc;
}
} }