From 8fc019fd69649451adc289742deaea3b8fbfa40a Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 21 Jun 2025 03:38:22 +0500 Subject: upd: file preview is now bigger than before --- public/index.php | 131 +++++++++++++++++++++++++----------------------- public/static/style.css | 20 ++++---- 2 files changed, 78 insertions(+), 73 deletions(-) diff --git a/public/index.php b/public/index.php index 51c0e7d..73b4d18 100644 --- a/public/index.php +++ b/public/index.php @@ -168,7 +168,7 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt'); -
+ >
+ diff --git a/public/static/style.css b/public/static/style.css index ffc7a4b..fbf33cf 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -97,20 +97,22 @@ body { width: 100%; min-height: 100vh; display: flex; - flex-direction: column; justify-content: center; - align-items: center; font-family: Arial, Helvetica, sans-serif; } main { - width: 50%; + max-width: 50%; flex-grow: 1; display: flex; flex-direction: column; gap: 8px; - padding: 8px 0; + padding: 8px; +} + +main.full-size { + max-width: 100%; } footer { @@ -243,11 +245,7 @@ button[type=submit].fancy:hover { } /** FILES */ -.file-preview-wrapper { - display: flex; - flex-direction: column; - gap: 16px; -} +.file-preview-wrapper {} .file-preview-wrapper>.box { max-width: 100%; @@ -375,6 +373,10 @@ button[type=submit].fancy:hover { vertical-align: top; } +.right { + float: right; +} + @media screen and (max-width: 1000px) { main { width: 100%; -- cgit v1.2.3