Chat CSS: fix ul, li, pre styles + remove redefinitions

This commit is contained in:
oobabooga 2023-06-18 01:56:43 -03:00
parent 0686a2e75f
commit 44f28830d1
7 changed files with 44 additions and 168 deletions

View file

@ -1,17 +1,3 @@
.chat {
margin-left: auto;
margin-right: auto;
max-width: 800px;
height: calc(100vh - 296px);
overflow-y: auto;
padding-right: 20px;
display: flex;
flex-direction: column-reverse;
word-break: break-word;
overflow-wrap: anywhere;
padding-top: 1px;
}
.message {
padding-bottom: 25px;
font-size: 15px;
@ -48,9 +34,6 @@
margin-top: 5px;
}
.message-body {
}
.message-body img {
max-width: 300px;
max-height: 300px;
@ -63,23 +46,6 @@
line-height: 1.428571429 !important;
}
.message-body li {
margin-top: 0.5em !important;
margin-bottom: 0.5em !important;
}
.message-body li > p {
display: inline !important;
}
.message-body code {
overflow-x: auto;
}
.message-body :not(pre) > code {
white-space: normal !important;
}
.dark .message-body p em {
color: rgb(138, 138, 138) !important;
}