Spaces:
Sleeping
Sleeping
fixed vertical scroll issues in chat window and input area.
Browse files- web/src/App.css +1 -1
- web/src/App.tsx +1 -7
web/src/App.css
CHANGED
|
@@ -1002,4 +1002,4 @@ details.tool-section[open] summary::before {
|
|
| 1002 |
|
| 1003 |
.logout-btn:active {
|
| 1004 |
transform: scale(0.98);
|
| 1005 |
-
}
|
|
|
|
| 1002 |
|
| 1003 |
.logout-btn:active {
|
| 1004 |
transform: scale(0.98);
|
| 1005 |
+
}
|
web/src/App.tsx
CHANGED
|
@@ -498,7 +498,6 @@ function App() {
|
|
| 498 |
</button>
|
| 499 |
</div>
|
| 500 |
</header>
|
| 501 |
-
|
| 502 |
{showSettings && (
|
| 503 |
<div className="settings-panel">
|
| 504 |
<h3>Settings</h3>
|
|
@@ -516,7 +515,6 @@ function App() {
|
|
| 516 |
</div>
|
| 517 |
</div>
|
| 518 |
)}
|
| 519 |
-
|
| 520 |
<div className="chat-container">
|
| 521 |
<div className="messages" ref={messagesContainerRef}>
|
| 522 |
{messages.length === 0 && (
|
|
@@ -535,7 +533,6 @@ function App() {
|
|
| 535 |
</div>
|
| 536 |
</div>
|
| 537 |
)}
|
| 538 |
-
|
| 539 |
{messages.map((message) => {
|
| 540 |
// Don't render empty assistant messages while loading
|
| 541 |
if (message.role === 'assistant' && !message.content && (!message.toolCalls || message.toolCalls.length === 0)) {
|
|
@@ -606,7 +603,6 @@ function App() {
|
|
| 606 |
</div>
|
| 607 |
);
|
| 608 |
})}
|
| 609 |
-
|
| 610 |
{isLoading && (
|
| 611 |
<div className="typing-indicator">
|
| 612 |
<span></span>
|
|
@@ -615,10 +611,8 @@ function App() {
|
|
| 615 |
<em className="status-message">{statusMessage || 'Thinking...'}</em>
|
| 616 |
</div>
|
| 617 |
)}
|
| 618 |
-
|
| 619 |
<div ref={messagesEndRef} />
|
| 620 |
</div>
|
| 621 |
-
|
| 622 |
<div className="input-container">
|
| 623 |
<textarea
|
| 624 |
value={input}
|
|
@@ -637,4 +631,4 @@ function App() {
|
|
| 637 |
);
|
| 638 |
}
|
| 639 |
|
| 640 |
-
export default App;
|
|
|
|
| 498 |
</button>
|
| 499 |
</div>
|
| 500 |
</header>
|
|
|
|
| 501 |
{showSettings && (
|
| 502 |
<div className="settings-panel">
|
| 503 |
<h3>Settings</h3>
|
|
|
|
| 515 |
</div>
|
| 516 |
</div>
|
| 517 |
)}
|
|
|
|
| 518 |
<div className="chat-container">
|
| 519 |
<div className="messages" ref={messagesContainerRef}>
|
| 520 |
{messages.length === 0 && (
|
|
|
|
| 533 |
</div>
|
| 534 |
</div>
|
| 535 |
)}
|
|
|
|
| 536 |
{messages.map((message) => {
|
| 537 |
// Don't render empty assistant messages while loading
|
| 538 |
if (message.role === 'assistant' && !message.content && (!message.toolCalls || message.toolCalls.length === 0)) {
|
|
|
|
| 603 |
</div>
|
| 604 |
);
|
| 605 |
})}
|
|
|
|
| 606 |
{isLoading && (
|
| 607 |
<div className="typing-indicator">
|
| 608 |
<span></span>
|
|
|
|
| 611 |
<em className="status-message">{statusMessage || 'Thinking...'}</em>
|
| 612 |
</div>
|
| 613 |
)}
|
|
|
|
| 614 |
<div ref={messagesEndRef} />
|
| 615 |
</div>
|
|
|
|
| 616 |
<div className="input-container">
|
| 617 |
<textarea
|
| 618 |
value={input}
|
|
|
|
| 631 |
);
|
| 632 |
}
|
| 633 |
|
| 634 |
+
export default App;
|