HuggingFace-SK commited on
Commit
0b90794
·
1 Parent(s): 1c42259

style textarea

Browse files
static/browser_detect.css CHANGED
@@ -43,10 +43,12 @@ body {
43
  padding: 10px;
44
  background-color: #d3d3d3;
45
  margin: none;
 
46
  border-radius: 15px;
47
  resize: none;
48
  display:block; position:relative;
49
  width:100%;
 
50
  font-size:15px;
51
 
52
  }
@@ -56,6 +58,7 @@ body {
56
  padding: none;
57
  background-color: #3e3e3e;
58
  margin: 10px;
 
59
  border-radius: 15px;
60
  overflow-y: hidden;
61
  }
 
43
  padding: 10px;
44
  background-color: #d3d3d3;
45
  margin: none;
46
+ margin-top: 0px;
47
  border-radius: 15px;
48
  resize: none;
49
  display:block; position:relative;
50
  width:100%;
51
+ border: none;
52
  font-size:15px;
53
 
54
  }
 
58
  padding: none;
59
  background-color: #3e3e3e;
60
  margin: 10px;
61
+ margin-top: none;
62
  border-radius: 15px;
63
  overflow-y: hidden;
64
  }
templates/browser-detect.html CHANGED
@@ -199,7 +199,7 @@ function set_output_array(text) {
199
  if (previous_result == current_result) {
200
  if (current_time - last_letter_time > 1000) {
201
  last_letter_time = current_time
202
- word_list.push(current_result)
203
  console.log(word_list)
204
  document.getElementById("text").value = word_list.join('')
205
  }
 
199
  if (previous_result == current_result) {
200
  if (current_time - last_letter_time > 1000) {
201
  last_letter_time = current_time
202
+ word_list.push(" ")
203
  console.log(word_list)
204
  document.getElementById("text").value = word_list.join('')
205
  }