This commit is contained in:
Adrien Bouvais 2024-05-25 18:11:04 +02:00
parent 459746144e
commit fc7f316cc9
3 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,7 @@
body, body {
padding-bottom: 150px;
}
html { html {
height: 100%; height: 100%;
margin: 0; margin: 0;
@ -38,7 +41,7 @@ html {
max-width: 780px; max-width: 780px;
margin: auto; margin: auto;
width: 95%; width: 95%;
margin-bottom: 180px; box-sizing: border-box;
} }
/* Primary color */ /* Primary color */

View File

@ -55,6 +55,11 @@
}, 200); }, 200);
} }
function updateIcon(icon, ConversationAreaId) {
var selectedIcon = document.getElementById('selectedIcon-' + ConversationAreaId);
selectedIcon.src = icon;
}
function handleTextareaKeydown(event) { function handleTextareaKeydown(event) {
if (event.metaKey && event.key === 'Enter') { if (event.metaKey && event.key === 'Enter') {
// Check if the cursor is in the textarea // Check if the cursor is in the textarea

View File

@ -23,13 +23,6 @@
{{embed}} {{embed}}
<script>
function updateIcon(icon, ConversationAreaId) {
var selectedIcon = document.getElementById('selectedIcon-' + ConversationAreaId);
selectedIcon.src = icon;
}
</script>
<script> <script>
function copyToClipboardCode(button) { function copyToClipboardCode(button) {
// Get the code element next to the button // Get the code element next to the button