Fix channel edit input size

This commit is contained in:
Raven Scott 2024-06-10 20:28:16 -04:00
parent 8d1ecc2c19
commit 3dcabac0b4

3
app.js
View File

@ -291,6 +291,9 @@ function enterEditMode(roomItem) {
const input = document.createElement('input');
input.type = 'text';
input.value = originalText;
input.style.maxWidth = '100%'; // Add this line to set the max width
input.style.boxSizing = 'border-box'; // Add this line to ensure padding and border are included in the width
roomItem.appendChild(input);
input.focus();