diff --git a/static/style.css b/static/style.css index 72a5c0e..9a7ef81 100644 --- a/static/style.css +++ b/static/style.css @@ -1,4 +1,7 @@ -body, +body { + padding-bottom: 150px; +} + html { height: 100%; margin: 0; @@ -38,7 +41,7 @@ html { max-width: 780px; margin: auto; width: 95%; - margin-bottom: 180px; + box-sizing: border-box; } /* Primary color */ diff --git a/views/chat.html b/views/chat.html index b627798..f90a5e9 100644 --- a/views/chat.html +++ b/views/chat.html @@ -55,6 +55,11 @@ }, 200); } + function updateIcon(icon, ConversationAreaId) { + var selectedIcon = document.getElementById('selectedIcon-' + ConversationAreaId); + selectedIcon.src = icon; + } + function handleTextareaKeydown(event) { if (event.metaKey && event.key === 'Enter') { // Check if the cursor is in the textarea diff --git a/views/layouts/main.html b/views/layouts/main.html index b72272a..2ad6fbd 100644 --- a/views/layouts/main.html +++ b/views/layouts/main.html @@ -23,13 +23,6 @@ {{embed}} - -