Chat CSS improvements

This commit is contained in:
oobabooga 2023-10-20 12:30:01 -07:00
parent 32984ea2f0
commit dedbdb46c2
3 changed files with 30 additions and 19 deletions

View file

@ -11,13 +11,13 @@
display: none;
}
.message-body p {
.message-body p, .message-body li {
font-size: 15px !important;
line-height: 22px !important;
line-height: 22.5px !important;
}
.message-body p, .chat .message-body ul, .chat .message-body ol {
margin-bottom: 1.25em !important;
margin-bottom: 23.4375px !important;
}
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
@ -33,16 +33,16 @@
}
.gradio-container .chat .assistant-message {
padding: 15px;
border-radius: 20px;
padding: 20px;
border-radius: 15px;
background-color: #0000000f;
margin-top: 9px !important;
margin-bottom: 18px !important;
}
.gradio-container .chat .user-message {
padding: 15px;
border-radius: 20px;
padding: 20px;
border-radius: 15px;
margin-bottom: 9px !important;
}