Fixat så att sänd-knappen faktiskt gör det den ska göra

This commit is contained in:
Joakim Persson
2024-07-31 17:37:26 +02:00
parent 810b369721
commit 538f02e6a7
+3 -3
View File
@@ -61,7 +61,7 @@ h1 {
border-color: #66afe9; /* Blue outline on focus */
}
button[onclick="sendMessage()"] {
button[onclick="window.frontendApi.sendMessage()"] {
background-color: #4CAF50; /* Green */
border: none;
color: white;
@@ -75,11 +75,11 @@ button[onclick="sendMessage()"] {
transition: background-color 0.3s; /* Smooth transition effect */
}
button[onclick="sendMessage()"]:hover {
button[onclick="window.frontendApi.sendMessage()"]:hover {
background-color: #b2b2b2; /* Light Grey on hover */
}
button[onclick="sendMessage()"]:active {
button[onclick="window.frontendApi.sendMessage()"]:active {
background-color: #6f6f6f; /* Dark Grey when clicked */
}