2023-03-15 16:33:26 +01:00
|
|
|
.h-\[40vh\], .wrap.svelte-byatnx.svelte-byatnx.svelte-byatnx {
|
|
|
|
height: 66.67vh
|
|
|
|
}
|
2023-03-15 17:24:54 +01:00
|
|
|
|
2023-03-15 16:33:26 +01:00
|
|
|
.gradio-container {
|
|
|
|
margin-left: auto !important;
|
|
|
|
margin-right: auto !important;
|
|
|
|
}
|
2023-03-15 17:24:54 +01:00
|
|
|
|
2023-03-15 16:33:26 +01:00
|
|
|
.w-screen {
|
|
|
|
width: unset
|
|
|
|
}
|
2023-03-15 17:24:54 +01:00
|
|
|
|
2023-03-15 16:33:26 +01:00
|
|
|
div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|
|
|
flex-wrap: nowrap
|
|
|
|
}
|
2023-03-15 17:24:54 +01:00
|
|
|
|
2023-03-15 16:33:26 +01:00
|
|
|
/* fixes the API documentation in chat mode */
|
|
|
|
.api-docs.svelte-1iguv9h.svelte-1iguv9h.svelte-1iguv9h {
|
|
|
|
display: grid;
|
|
|
|
}
|
2023-03-15 17:24:54 +01:00
|
|
|
|
2023-03-15 16:33:26 +01:00
|
|
|
.pending.svelte-1ed2p3z {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-03-27 03:20:30 +02:00
|
|
|
|
|
|
|
#extensions {
|
2023-05-25 18:12:34 +02:00
|
|
|
padding: 0;
|
2023-03-27 03:20:30 +02:00
|
|
|
}
|
|
|
|
|
2023-03-30 05:43:49 +02:00
|
|
|
#gradio-chatbot {
|
2023-05-25 18:12:34 +02:00
|
|
|
height: 66.67vh;
|
2023-03-30 05:43:49 +02:00
|
|
|
}
|
2023-03-30 06:02:11 +02:00
|
|
|
|
|
|
|
.wrap.svelte-6roggh.svelte-6roggh {
|
2023-05-25 18:12:34 +02:00
|
|
|
max-height: 92.5%;
|
2023-03-30 06:02:11 +02:00
|
|
|
}
|
2023-04-07 20:57:29 +02:00
|
|
|
|
|
|
|
/* This is for the microphone button in the whisper extension */
|
|
|
|
.sm.svelte-1ipelgc {
|
2023-05-25 18:12:34 +02:00
|
|
|
width: 100%;
|
2023-04-07 20:57:29 +02:00
|
|
|
}
|
2023-05-30 05:30:15 +02:00
|
|
|
|
|
|
|
#main button {
|
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
2023-06-18 06:56:43 +02:00
|
|
|
|
2023-08-04 06:58:37 +02:00
|
|
|
#main > :first-child, #extensions {
|
|
|
|
max-width: 800px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2023-08-02 17:45:14 +02:00
|
|
|
@media screen and (max-width: 688px) {
|
|
|
|
#main {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
height: calc(100vh - 274px) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-18 06:56:43 +02:00
|
|
|
/*****************************************************/
|
|
|
|
/*************** Chat box declarations ***************/
|
|
|
|
/*****************************************************/
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 800px;
|
2023-08-01 18:41:57 +02:00
|
|
|
height: calc(100vh - 286px);
|
2023-06-18 06:56:43 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
padding-right: 20px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
word-break: break-word;
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
2023-08-05 18:53:54 +02:00
|
|
|
.chat > .messages {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-06-18 06:56:43 +02:00
|
|
|
.message-body li {
|
2023-07-18 22:23:29 +02:00
|
|
|
margin-top: 0.5em !important;
|
|
|
|
margin-bottom: 0.5em !important;
|
2023-06-18 06:56:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-body li > p {
|
|
|
|
display: inline !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body ul, .message-body ol {
|
|
|
|
font-size: 15px !important;
|
|
|
|
}
|
|
|
|
|
2023-06-18 20:48:16 +02:00
|
|
|
.message-body ul {
|
|
|
|
list-style-type: disc !important;
|
|
|
|
}
|
|
|
|
|
2023-06-18 06:56:43 +02:00
|
|
|
.message-body pre {
|
|
|
|
margin-bottom: 1.25em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body code {
|
2023-06-18 20:48:16 +02:00
|
|
|
white-space: pre-wrap !important;
|
|
|
|
word-wrap: break-word !important;
|
2023-06-18 06:56:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-body :not(pre) > code {
|
|
|
|
white-space: normal !important;
|
|
|
|
}
|
2023-06-21 15:39:58 +02:00
|
|
|
|
|
|
|
@media print {
|
|
|
|
body {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
visibility: visible;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
max-width: none;
|
|
|
|
max-height: none;
|
|
|
|
width: 100%;
|
|
|
|
height: fit-content;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
2023-06-22 21:06:49 +02:00
|
|
|
|
|
|
|
.message {
|
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gradio-container {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-nav {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2023-06-21 15:39:58 +02:00
|
|
|
}
|