From b95f8642077e1626f20cacaacab4de294d117e82 Mon Sep 17 00:00:00 2001 From: szbk Date: Sun, 26 Oct 2025 18:41:15 +0300 Subject: [PATCH] =?UTF-8?q?Video=20oynat=C4=B1c=C4=B1=20modal=C4=B1nda=20k?= =?UTF-8?q?ontrollerin=20geni=C5=9F=20ekranlarda=20g=C3=B6r=C3=BCn=C3=BCr?= =?UTF-8?q?=20kalmas=C4=B1=20i=C3=A7in=20esnek=20yap=C4=B1y=C4=B1=20g?= =?UTF-8?q?=C3=BCncelle.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/styles/main.css | 12 ++++++++++-- client/src/utils/api.js | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/client/src/styles/main.css b/client/src/styles/main.css index f886a17..ef182e3 100644 --- a/client/src/styles/main.css +++ b/client/src/styles/main.css @@ -243,6 +243,7 @@ body, border-radius: 12px; display: flex; flex-direction: column; + min-height: 0; overflow: hidden; box-shadow: 0 0 30px rgba(0, 0, 0, 0.8); } @@ -253,13 +254,16 @@ body, display: flex; flex-direction: column; justify-content: space-between; + min-height: 0; background: #000; } .video-element { - flex: 1; + flex: 1 1 auto; width: 100%; - height: 100%; + height: auto; + max-height: 100%; + min-height: 0; object-fit: contain; background: #000; border: none; @@ -278,6 +282,7 @@ body, display: flex; flex-direction: column; gap: 8px; + flex-shrink: 0; border-top: 1px solid #333; } @@ -285,6 +290,7 @@ body, display: flex; justify-content: space-between; align-items: center; + flex-shrink: 0; } .control-btn { @@ -343,6 +349,7 @@ body, align-items: center; justify-content: space-between; gap: 12px; + flex-shrink: 0; } .progress-slider { @@ -442,6 +449,7 @@ body, color: #fff; font-size: 16px; font-weight: 500; + flex-shrink: 0; } .video-title { diff --git a/client/src/utils/api.js b/client/src/utils/api.js index b236601..7d4a367 100644 --- a/client/src/utils/api.js +++ b/client/src/utils/api.js @@ -1,4 +1,4 @@ -export const API = import.meta.env.VITE_API || "http://localhost:3001"; +export const API = import.meta.env.VITE_API || "http://dupe.panda"; // 🔐 Ortak kimlik doğrulama başlığı (token varsa ekler) export function authHeaders() {