Spaces:
Runtime error
Runtime error
.chat { | |
margin-left: auto; | |
margin-right: auto; | |
max-width: 800px; | |
height: calc(100vh - 306px); | |
overflow-y: auto; | |
padding-right: 20px; | |
display: flex; | |
flex-direction: column-reverse; | |
word-break: break-word; | |
overflow-wrap: anywhere; | |
} | |
.message { | |
display: grid; | |
grid-template-columns: 60px 1fr; | |
padding-bottom: 25px; | |
font-size: 15px; | |
font-family: Helvetica, Arial, sans-serif; | |
line-height: 1.428571429; | |
} | |
.username { | |
display: none; | |
} | |
.message-body {} | |
.message-body p { | |
font-size: 15px ; | |
line-height: 1.75 ; | |
margin-bottom: 1.25em ; | |
} | |
.message-body li { | |
margin-top: 0.5em ; | |
margin-bottom: 0.5em ; | |
} | |
.message-body li > p { | |
display: inline ; | |
} | |
.message-body code { | |
overflow-x: auto; | |
} | |
.message-body :not(pre) > code { | |
white-space: normal ; | |
} | |
.dark .message-body p em { | |
color: rgb(198, 202, 214) ; | |
} | |
.message-body p em { | |
color: rgb(110, 110, 110) ; | |
} | |
.gradio-container .chat .assistant-message { | |
padding: 15px; | |
border-radius: 20px; | |
background-color: #0000000f; | |
margin-top: 9px ; | |
margin-bottom: 18px ; | |
} | |
.gradio-container .chat .user-message { | |
padding: 15px; | |
border-radius: 20px; | |
margin-bottom: 9px ; | |
} | |
.dark .chat .assistant-message { | |
background-color: #374151; | |
} | |
code { | |
background-color: white ; | |
} | |
.dark code { | |
background-color: #1a212f ; | |
} |