diff --git a/package.json b/package.json index 7bf684f..b84c722 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "The electronjs application launcher", "keywords": [], "main": "./main.js", - "version": "1.2.5", + "version": "1.2.8", "author": "melser", "scripts": { "start": "electron ./src", diff --git a/src/package.json b/src/package.json index 3efa9e2..0311e00 100644 --- a/src/package.json +++ b/src/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/nglmercer/multiztream-live" }, "main": "./main.js", - "version": "1.2.5", + "version": "1.2.8", "devDependencies": { "electron": "31.4.0" }, diff --git a/src/public/assets/styles.css b/src/public/assets/styles.css index 27b9de5..fc0fe65 100644 --- a/src/public/assets/styles.css +++ b/src/public/assets/styles.css @@ -234,9 +234,15 @@ button { } -.chat1 { grid-area: 1 / 1 / 5 / 4; } -.gift2 { grid-area: 1 / 4 / 5 / 7; } -.events3 { grid-area: 5 / 1 / 7 / 7; } +.chat1 { grid-area: 1 / 1 / 5 / 4; + resize: vertical; +} +.gift2 { grid-area: 1 / 4 / 5 / 7; + resize: vertical; +} +.events3 { grid-area: 5 / 1 / 7 / 7; + resize: vertical; +} @media (max-width: 680px) { .LiveContainer { grid-template-columns: 1fr; /* Cambia a una sola columna */ diff --git a/src/public/components/renderhtml.js b/src/public/components/renderhtml.js deleted file mode 100644 index 6b1f112..0000000 --- a/src/public/components/renderhtml.js +++ /dev/null @@ -1,60 +0,0 @@ -class GiftElementsManager { - constructor(items, config = {}) { - this.items = items; - this.defaultConfig = { - containerClass: 'default-container', - itemClass: 'default-item', - imageClass: 'default-image', - labelClass: 'default-label', - ...config - }; - } - - createSingleElement(item, customCallback, additionalClass = '') { - const container = document.createElement('div'); - container.className = `${this.defaultConfig.itemClass} ${additionalClass}`.trim(); - - const image = document.createElement('img'); - image.src = item.image; - image.alt = item.label; - image.className = this.defaultConfig.imageClass; - - const label = document.createElement('span'); - label.textContent = item.label; - label.className = this.defaultConfig.labelClass; - - const price = document.createElement('span'); - price.textContent = `${item.value}`; - price.className = 'default-price'; - - container.appendChild(image); - container.appendChild(label); - container.appendChild(price); - - if (customCallback) { - container.addEventListener('click', () => customCallback(item)); - } - - return container; - } - - renderToElement(containerId, callback, additionalClass = '') { - const container = document.getElementById(containerId); - if (!container) { - throw new Error(`No se encontró el elemento con id: ${containerId}`); - } - - const wrapper = document.createElement('div'); - wrapper.className = this.defaultConfig.containerClass; - - this.items.forEach(item => { - const element = this.createSingleElement(item, callback, additionalClass); - wrapper.appendChild(element); - }); - - container.appendChild(wrapper); - return wrapper; - } -} - -export { GiftElementsManager }; \ No newline at end of file diff --git a/src/public/features/Editdatatable.js b/src/public/features/Editdatatable.js deleted file mode 100644 index e69de29..0000000 diff --git a/src/public/index2.html b/src/public/index2.html deleted file mode 100644 index b48509e..0000000 --- a/src/public/index2.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - - - Donation Alerts Overlay - - - -
- - - - - \ No newline at end of file diff --git a/src/public/overlay/overlay.html b/src/public/overlay/overlay.html deleted file mode 100644 index 5c7f69f..0000000 --- a/src/public/overlay/overlay.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - Overlay - - - - -
- - - diff --git a/src/public/overlay/overlayfull.html b/src/public/overlay/overlayfull.html deleted file mode 100644 index 5d203fb..0000000 --- a/src/public/overlay/overlayfull.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - Overlay - - - - -
- - -