Upload folder using huggingface_hub
Browse files
6.3.1/chatbot/shared/ChatBot.svelte
CHANGED
|
@@ -476,6 +476,7 @@
|
|
| 476 |
flex-direction: column;
|
| 477 |
justify-content: space-between;
|
| 478 |
margin-bottom: var(--spacing-xxl);
|
|
|
|
| 479 |
}
|
| 480 |
|
| 481 |
.panel-wrap :global(.message-row:first-child) {
|
|
@@ -510,7 +511,7 @@
|
|
| 510 |
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 511 |
gap: var(--spacing-xxl);
|
| 512 |
max-width: calc(min(4 * 200px + 5 * var(--spacing-xxl), 100%));
|
| 513 |
-
justify-content: end;
|
| 514 |
}
|
| 515 |
|
| 516 |
.option {
|
|
|
|
| 476 |
flex-direction: column;
|
| 477 |
justify-content: space-between;
|
| 478 |
margin-bottom: var(--spacing-xxl);
|
| 479 |
+
direction: ltr;
|
| 480 |
}
|
| 481 |
|
| 482 |
.panel-wrap :global(.message-row:first-child) {
|
|
|
|
| 511 |
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 512 |
gap: var(--spacing-xxl);
|
| 513 |
max-width: calc(min(4 * 200px + 5 * var(--spacing-xxl), 100%));
|
| 514 |
+
justify-content: flex-end;
|
| 515 |
}
|
| 516 |
|
| 517 |
.option {
|
6.3.1/chatbot/shared/Examples.svelte
CHANGED
|
@@ -234,12 +234,12 @@
|
|
| 234 |
|
| 235 |
.example-text-content {
|
| 236 |
margin-top: var(--spacing-sm);
|
| 237 |
-
text-align:
|
| 238 |
}
|
| 239 |
|
| 240 |
.example-text {
|
| 241 |
font-size: var(--text-md);
|
| 242 |
-
text-align:
|
| 243 |
overflow: hidden;
|
| 244 |
text-overflow: ellipsis;
|
| 245 |
}
|
|
|
|
| 234 |
|
| 235 |
.example-text-content {
|
| 236 |
margin-top: var(--spacing-sm);
|
| 237 |
+
text-align: start;
|
| 238 |
}
|
| 239 |
|
| 240 |
.example-text {
|
| 241 |
font-size: var(--text-md);
|
| 242 |
+
text-align: start;
|
| 243 |
overflow: hidden;
|
| 244 |
text-overflow: ellipsis;
|
| 245 |
}
|
6.3.1/chatbot/shared/Message.svelte
CHANGED
|
@@ -392,7 +392,7 @@
|
|
| 392 |
background-color: var(--background-fill-secondary);
|
| 393 |
box-shadow: var(--shadow-drop);
|
| 394 |
align-self: flex-start;
|
| 395 |
-
text-align:
|
| 396 |
border-bottom-left-radius: 0;
|
| 397 |
padding: var(--spacing-sm) var(--spacing-xl);
|
| 398 |
}
|
|
@@ -515,18 +515,14 @@
|
|
| 515 |
}
|
| 516 |
|
| 517 |
.bot-row.bubble > .avatar-container {
|
| 518 |
-
margin-
|
|
|
|
| 519 |
}
|
| 520 |
|
| 521 |
.panel.user-row > .avatar-container {
|
| 522 |
order: 0;
|
| 523 |
}
|
| 524 |
|
| 525 |
-
.bot-row.bubble > .avatar-container {
|
| 526 |
-
margin-right: var(--spacing-xxl);
|
| 527 |
-
margin-left: 0;
|
| 528 |
-
}
|
| 529 |
-
|
| 530 |
.avatar-container:not(.thumbnail-item) :global(img) {
|
| 531 |
width: 100%;
|
| 532 |
height: 100%;
|
|
@@ -637,7 +633,7 @@
|
|
| 637 |
|
| 638 |
.panel .user :global(*),
|
| 639 |
.panel .bot :global(*) {
|
| 640 |
-
text-align:
|
| 641 |
}
|
| 642 |
|
| 643 |
.panel .user {
|
|
@@ -646,7 +642,7 @@
|
|
| 646 |
|
| 647 |
.panel .user-row {
|
| 648 |
background-color: var(--color-accent-soft);
|
| 649 |
-
align-self:
|
| 650 |
}
|
| 651 |
|
| 652 |
.panel .message {
|
|
|
|
| 392 |
background-color: var(--background-fill-secondary);
|
| 393 |
box-shadow: var(--shadow-drop);
|
| 394 |
align-self: flex-start;
|
| 395 |
+
text-align: left;
|
| 396 |
border-bottom-left-radius: 0;
|
| 397 |
padding: var(--spacing-sm) var(--spacing-xl);
|
| 398 |
}
|
|
|
|
| 515 |
}
|
| 516 |
|
| 517 |
.bot-row.bubble > .avatar-container {
|
| 518 |
+
margin-right: var(--spacing-xxl);
|
| 519 |
+
margin-left: 0;
|
| 520 |
}
|
| 521 |
|
| 522 |
.panel.user-row > .avatar-container {
|
| 523 |
order: 0;
|
| 524 |
}
|
| 525 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 526 |
.avatar-container:not(.thumbnail-item) :global(img) {
|
| 527 |
width: 100%;
|
| 528 |
height: 100%;
|
|
|
|
| 633 |
|
| 634 |
.panel .user :global(*),
|
| 635 |
.panel .bot :global(*) {
|
| 636 |
+
text-align: inherit;
|
| 637 |
}
|
| 638 |
|
| 639 |
.panel .user {
|
|
|
|
| 642 |
|
| 643 |
.panel .user-row {
|
| 644 |
background-color: var(--color-accent-soft);
|
| 645 |
+
align-self: start;
|
| 646 |
}
|
| 647 |
|
| 648 |
.panel .message {
|