修复输入框居中问题
This commit is contained in:
parent
a3dc204b21
commit
3deccb078d
@ -4,7 +4,6 @@
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
padding: 10px;
|
||||
box-shadow: 0 -2px 5px #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -54,8 +54,7 @@
|
||||
|
||||
<div class="input-row">
|
||||
<!-- 改用 onclick,顺带阻止冒泡 -->
|
||||
<input type="text" id="userInput" placeholder="输入你的消息..."
|
||||
onclick="openChat(event)" />
|
||||
<input type="text" id="userInput" placeholder="输入你的消息..." onclick="openChat(event)" />
|
||||
<button onclick="sendMessage()">发送</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user