0x-YuAN commited on
Commit
7a200bf
·
verified ·
1 Parent(s): 7710970

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -4
index.html CHANGED
@@ -5,7 +5,7 @@
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;700&display=swap" rel="stylesheet">
8
- <title>GirlGPT</title>
9
  <style>
10
  * {
11
  margin: 0;
@@ -45,7 +45,7 @@
45
 
46
  .chatbox {
47
  height: fit-content;
48
- width: 80%;
49
  background-color: white;
50
  border-radius: 20px;
51
  margin-top: 10px;
@@ -190,7 +190,7 @@
190
  <div id="textInputBox">
191
  <!--已建立的訊息填寫框-->
192
  <div style="display: flex;flex-wrap: nowrap;justify-content: end; margin-top: 10px;">
193
- <select id="character0" name="character">
194
  <option value="self">自己</option>
195
  <option value="usr">對方</option>
196
  </select>
@@ -420,7 +420,7 @@
420
 
421
  // 設定新增訊息框的內容
422
  newMessageBox.innerHTML = `
423
- <select id="character${messageCount}" name="character">
424
  <option value="self">自己</option>
425
  <option value="usr">對方</option>
426
  </select>
 
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;700&display=swap" rel="stylesheet">
8
+ <title>聊天助手</title>
9
  <style>
10
  * {
11
  margin: 0;
 
45
 
46
  .chatbox {
47
  height: fit-content;
48
+ width: 90%;
49
  background-color: white;
50
  border-radius: 20px;
51
  margin-top: 10px;
 
190
  <div id="textInputBox">
191
  <!--已建立的訊息填寫框-->
192
  <div style="display: flex;flex-wrap: nowrap;justify-content: end; margin-top: 10px;">
193
+ <select id="character0" name="character" style="width: 90px;">
194
  <option value="self">自己</option>
195
  <option value="usr">對方</option>
196
  </select>
 
420
 
421
  // 設定新增訊息框的內容
422
  newMessageBox.innerHTML = `
423
+ <select id="character${messageCount}" name="character" style="width: 90px;">
424
  <option value="self">自己</option>
425
  <option value="usr">對方</option>
426
  </select>