fixed the send button, finally.

This commit is contained in:
2025-11-17 02:20:35 +03:00
parent 061b8a110a
commit b03df8a361
2 changed files with 45 additions and 7 deletions

View File

@@ -52,9 +52,14 @@
<div class="chat-log" id="chat-log"></div>
<form class="chat-input-row" id="chat-form">
<input type="text" id="chat-input" class="input chat-input" placeholder="Type a message..." autocomplete="off" />
<button class="btn btn-primary" id="chat-send-btn">
Send
<input type="text" id="chat-input" class="input chat-input" placeholder="Type a message..."
autocomplete="off" />
<button class="btnx btn-primary chat-send-btn" id="chat-send-btn" aria-label="Send message"
type="submit">
<svg class="send-icon" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M3.4 20.6c-.5.2-.9-.3-.7-.8l3-8.2c.1-.3 0-.7-.2-.9l-3-3.4c-.4-.5 0-1.3.7-1.1l18.5 6.2c.6.2.6 1 0 1.2L3.4 20.6zm3.5-9.3c.7.7 1.1 1.6.9 2.5l-1 3 10.8-4-10.7-3.5z" />
</svg>
</button>
</form>
</section>
@@ -64,4 +69,4 @@
<script src="index.js"></script>
</body>
</html>
</html>