Make text input more flexible
This commit is contained in:
		| @@ -20,8 +20,10 @@ body { | ||||
|  | ||||
| .message-box { | ||||
| 	margin: 64px 0 64px; | ||||
| 	display: flex; | ||||
| 	gap: 8px; | ||||
| } | ||||
|  | ||||
| .message-input { | ||||
| 	width: 100%; | ||||
| 	flex-grow: 1; | ||||
| } | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
|     </div> | ||||
|  | ||||
|     <form class="message-box" id="message-box" ws-send hx-on::ws-before-send="this.reset();"> | ||||
|         <input id="message-input" name="message" type="text" placeholder="Type a message"> | ||||
|         <input class="message-input" name="message" type="text" placeholder="Type a message"> | ||||
|         <input type="submit" value="Send"> | ||||
|     </form> | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user