From 230957d4c7e93bc0a08271815d51508740350fc1 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Thu, 15 May 2025 14:23:29 +0200 Subject: [PATCH] made modal style better --- public/css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 29c1544..d669853 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -169,8 +169,8 @@ table tbody td:nth-child(1) { background: #fff; padding: 1.5rem; border-radius: 8px; - max-width: 400px; - width: 90%; + max-width: 75vw; + min-width: 30vw; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); position: relative; } @@ -178,8 +178,8 @@ table tbody td:nth-child(1) { /* Close button in corner */ .modal-close { position: absolute; - top: 0.5rem; - right: 0.5rem; + top: 0; + right: 0; background: none; border: none; font-size: 1.5rem;