Spaces:
Sleeping
Sleeping
vertically centre the solve button, make the background color the same as the main background color, and reduce height of input form
Browse files- web/src/App.css +7 -5
- web/src/App.tsx +1 -1
web/src/App.css
CHANGED
|
@@ -887,10 +887,11 @@ details.tool-section[open] summary::before {
|
|
| 887 |
.send-btn {
|
| 888 |
position: absolute;
|
| 889 |
right: 2.5rem;
|
| 890 |
-
|
| 891 |
-
|
| 892 |
-
|
| 893 |
-
|
|
|
|
| 894 |
padding: 0.75rem 1.5rem;
|
| 895 |
cursor: pointer;
|
| 896 |
font-size: 0.95rem;
|
|
@@ -900,7 +901,8 @@ details.tool-section[open] summary::before {
|
|
| 900 |
}
|
| 901 |
|
| 902 |
.send-btn:hover:not(:disabled) {
|
| 903 |
-
background: #
|
|
|
|
| 904 |
}
|
| 905 |
|
| 906 |
.send-btn:active:not(:disabled) {
|
|
|
|
| 887 |
.send-btn {
|
| 888 |
position: absolute;
|
| 889 |
right: 2.5rem;
|
| 890 |
+
top: 50%;
|
| 891 |
+
transform: translateY(-50%);
|
| 892 |
+
background: #1a1614;
|
| 893 |
+
color: #d4c5b9;
|
| 894 |
+
border: 1px solid #3a342e;
|
| 895 |
padding: 0.75rem 1.5rem;
|
| 896 |
cursor: pointer;
|
| 897 |
font-size: 0.95rem;
|
|
|
|
| 901 |
}
|
| 902 |
|
| 903 |
.send-btn:hover:not(:disabled) {
|
| 904 |
+
background: #2a2520;
|
| 905 |
+
border-color: #8b7355;
|
| 906 |
}
|
| 907 |
|
| 908 |
.send-btn:active:not(:disabled) {
|
web/src/App.tsx
CHANGED
|
@@ -851,7 +851,7 @@ function App() {
|
|
| 851 |
onKeyPress={handleKeyPress}
|
| 852 |
placeholder={`${randomSaying} (Shift+Enter for new line)`}
|
| 853 |
disabled={isLoading}
|
| 854 |
-
rows={
|
| 855 |
/>
|
| 856 |
<button onClick={handleSendMessage} disabled={isLoading || !input.trim()} className="send-btn">
|
| 857 |
{isLoading ? 'Solving...' : 'Solve →'}
|
|
|
|
| 851 |
onKeyPress={handleKeyPress}
|
| 852 |
placeholder={`${randomSaying} (Shift+Enter for new line)`}
|
| 853 |
disabled={isLoading}
|
| 854 |
+
rows={2}
|
| 855 |
/>
|
| 856 |
<button onClick={handleSendMessage} disabled={isLoading || !input.trim()} className="send-btn">
|
| 857 |
{isLoading ? 'Solving...' : 'Solve →'}
|