Update style.css
Browse files
style.css
CHANGED
|
@@ -474,6 +474,23 @@ a {
|
|
| 474 |
text-decoration: none !important;
|
| 475 |
}
|
| 476 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 477 |
/* Media Queries */
|
| 478 |
/* Desktop Media Query */
|
| 479 |
@media screen and (min-width: 1024px) {
|
|
@@ -497,7 +514,19 @@ a {
|
|
| 497 |
}
|
| 498 |
|
| 499 |
div#chatbot-row {
|
| 500 |
-
max-height: calc(100vh -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 501 |
}
|
| 502 |
|
| 503 |
div#graphs-container {
|
|
@@ -514,7 +543,17 @@ a {
|
|
| 514 |
/* Mobile Media Query */
|
| 515 |
@media screen and (max-width: 767px) {
|
| 516 |
div#chatbot {
|
| 517 |
-
height: 500px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 518 |
}
|
| 519 |
|
| 520 |
#submit-button {
|
|
|
|
| 474 |
text-decoration: none !important;
|
| 475 |
}
|
| 476 |
|
| 477 |
+
/* Follow-up Examples Styles */
|
| 478 |
+
#follow-up-examples {
|
| 479 |
+
height: 15vh;
|
| 480 |
+
overflow-y: auto;
|
| 481 |
+
padding: 10px 0;
|
| 482 |
+
display: none; /* Hide by default */
|
| 483 |
+
}
|
| 484 |
+
|
| 485 |
+
#follow-up-examples:not(:empty) {
|
| 486 |
+
display: block; /* Show only when there's content */
|
| 487 |
+
}
|
| 488 |
+
|
| 489 |
+
#follow-up-button {
|
| 490 |
+
height: 100%;
|
| 491 |
+
overflow-y: auto;
|
| 492 |
+
}
|
| 493 |
+
|
| 494 |
/* Media Queries */
|
| 495 |
/* Desktop Media Query */
|
| 496 |
@media screen and (min-width: 1024px) {
|
|
|
|
| 514 |
}
|
| 515 |
|
| 516 |
div#chatbot-row {
|
| 517 |
+
max-height: calc(100vh - 200px) !important;
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
div#chatbot {
|
| 521 |
+
height: 80vh !important; /* Increased height when no follow-ups */
|
| 522 |
+
max-height: 80vh !important;
|
| 523 |
+
transition: height 0.3s ease;
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
/* Adjust chatbot height when follow-up examples are present */
|
| 527 |
+
div#chatbot:has(+ #follow-up-examples:not(:empty)) {
|
| 528 |
+
height: 65vh !important;
|
| 529 |
+
max-height: 65vh !important;
|
| 530 |
}
|
| 531 |
|
| 532 |
div#graphs-container {
|
|
|
|
| 543 |
/* Mobile Media Query */
|
| 544 |
@media screen and (max-width: 767px) {
|
| 545 |
div#chatbot {
|
| 546 |
+
height: 500px !important; /* Increased height when no follow-ups */
|
| 547 |
+
transition: height 0.3s ease;
|
| 548 |
+
}
|
| 549 |
+
|
| 550 |
+
/* Adjust chatbot height when follow-up examples are present */
|
| 551 |
+
div#chatbot:has(+ #follow-up-examples:not(:empty)) {
|
| 552 |
+
height: 400px !important;
|
| 553 |
+
}
|
| 554 |
+
|
| 555 |
+
#follow-up-examples {
|
| 556 |
+
height: 100px;
|
| 557 |
}
|
| 558 |
|
| 559 |
#submit-button {
|