fraudTech commited on
Commit
a4295a8
·
1 Parent(s): e9f9fd3

vertically centre the solve button, make the background color the same as the main background color, and reduce height of input form

Browse files
Files changed (2) hide show
  1. web/src/App.css +7 -5
  2. 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
- bottom: 2rem;
891
- background: #8b7355;
892
- color: #1a1614;
893
- border: none;
 
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: #9d8264;
 
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={3}
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 →'}