yankevych0210 1 éve
szülő
commit
7d04aa4063

+ 4 - 1
src/components/common/Console/Console.jsx

@@ -17,7 +17,10 @@ export const Console = ({ isOpen, close }) => {
           <button onClick={close}>x</button>
         </div>
         <div className={style.out}>{output}</div>
-        <textarea onChange={(event) => setOutput(event.target.value)} value={output} />
+        <div className={style.entryField}>
+          <span>&#62;</span>
+          <textarea onChange={(event) => setOutput(event.target.value)} value={output} />
+        </div>
       </div>
     );
   } else {

+ 12 - 1
src/components/common/Console/Console.module.scss

@@ -41,7 +41,7 @@
   // FIXME: height
   textarea {
     color: white;
-    height: 30px;
+    height: auto;
     padding: 7px;
     font-size: 15px;
     background-color: #343539;
@@ -50,4 +50,15 @@
     resize: none;
     outline: none;
   }
+  .entryField {
+    display: flex;
+    text-align: center;
+    background-color: #343539;
+    height: 30px;
+    color: white;
+
+    & span {
+      padding: 5px 0 5px 10px;
+    }
+  }
 }