UI: improve chat style margin for last bot message

This commit is contained in:
oobabooga 2024-01-01 19:50:13 -08:00
parent a4b4708560
commit 90c7e84b01

View file

@ -1,7 +1,7 @@
.message { .message {
display: grid; display: grid;
grid-template-columns: 60px minmax(0, 1fr); grid-template-columns: 60px minmax(0, 1fr);
padding-bottom: 25px; padding-bottom: 15px;
font-size: 15px; font-size: 15px;
font-family: 'Noto Sans', Helvetica, Arial, sans-serif; font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
line-height: 22.5px !important; line-height: 22.5px !important;
@ -52,10 +52,6 @@
margin-bottom: 10px !important; margin-bottom: 10px !important;
} }
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
margin-bottom: 0 !important;
}
.dark .message-body p em { .dark .message-body p em {
color: rgb(138 138 138) !important; color: rgb(138 138 138) !important;
} }