diff --git a/modules/turnero/views/display.php b/modules/turnero/views/display.php
index deff002..9f7ebb8 100644
--- a/modules/turnero/views/display.php
+++ b/modules/turnero/views/display.php
@@ -271,9 +271,13 @@ $_labColor = preg_match('/^#[0-9a-fA-F]{3,8}$/', $_dispCfg['doc_color'] ?? '')
-
+
+
@@ -338,7 +342,7 @@ document.getElementById('lbl-area').textContent =
const body = document.getElementById('display-body');
src.src = videoUrl;
vid.load();
- panel.style.display = 'block';
+ panel.style.display = 'flex'; // flex, para poder centrar el cuadro
// 3 columnas: turno | video | cola
body.style.gridTemplateColumns = '1fr 320px 280px';
})();
diff --git a/modules/turnero/views/display_global.php b/modules/turnero/views/display_global.php
index 50aead9..892beff 100644
--- a/modules/turnero/views/display_global.php
+++ b/modules/turnero/views/display_global.php
@@ -240,16 +240,25 @@ $_hasVideo = (bool)$_tvPlaylist;
}
.ul-item.activo .ul-dest { color: rgba(255,255,255,.85); }
- /* ── Video reel ── */
+ /* ── Video reel ──
+ El material es cuadrado. Antes la caja ocupaba todo el alto de una
+ columna angosta y, con object-fit:cover, del cuadrado solo se veía
+ una franja vertical del centro: se perdían los bordes del video.
+ Ahora la caja es cuadrada y se centra, así entra completo. */
.reel-wrap {
display: none;
height: 100%;
overflow: hidden;
padding: 8px 8px 8px 0;
+ align-items: center;
+ justify-content: center;
}
- .reel-wrap.has-video { display: block; }
+ .reel-wrap.has-video { display: flex; }
.reel-wrap .reel-inner {
- width: 100%; height: 100%;
+ width: 100%;
+ height: auto;
+ aspect-ratio: 1 / 1;
+ max-height: 100%;
border-radius: 16px;
overflow: hidden;
box-shadow: -8px 0 30px rgba(0,0,0,.08);