paufinement de l'UI du chat
This commit is contained in:
1 parent
0a6ffab050
commit
87eeb41364
6 files changed
+93
-13
No files matched your search
@@ -275,10 +275,54 @@ h2 {
|
||||
/* chat */
|
||||
|
||||
.message {
|
||||
@apply rounded p-2;
|
||||
/*@apply rounded p-2;*/
|
||||
|
||||
&.user {
|
||||
@apply bg-sky-700 dark:text-white;
|
||||
@apply bg-sky-500/20 px-2 py-1 text-sky-700 dark:text-sky-300;
|
||||
}
|
||||
.tool {
|
||||
@apply bg-green-500/20 px-2 py-1 text-green-700 dark:text-green-300;
|
||||
}
|
||||
|
||||
hr {
|
||||
@apply my-4;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
@apply my-2;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@apply text-2xl font-bold;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@apply text-xl font-bold;
|
||||
}
|
||||
|
||||
h3 {
|
||||
@apply text-lg font-bold;
|
||||
}
|
||||
|
||||
h4 {
|
||||
@apply text-base;
|
||||
}
|
||||
|
||||
h5 {
|
||||
@apply text-sm;
|
||||
}
|
||||
|
||||
li {
|
||||
@apply ml-5 list-disc pl-4 marker:text-xl;
|
||||
}
|
||||
|
||||
pre {
|
||||
@apply my-2 rounded p-1 whitespace-pre dark:bg-stone-700;
|
||||
}
|
||||
|
||||
p {
|
||||
@apply my-2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -289,11 +333,3 @@ h2 {
|
||||
@apply text-white/50;
|
||||
}
|
||||
}
|
||||
|
||||
.message-content p {
|
||||
@apply my-2;
|
||||
}
|
||||
|
||||
.message-content pre {
|
||||
@apply my-2 whitespace-pre dark:bg-stone-700;
|
||||
}
|
||||
Reference in new issue
Block a user