From 0b2df00f31b8702d642cb975770e0f6d1f1e732c Mon Sep 17 00:00:00 2001 From: Gulilil <juan.csantoso@gmail.com> Date: Sat, 7 Oct 2023 05:23:25 +0700 Subject: [PATCH] style: admin modal --- app/public/style/admin.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/public/style/admin.css b/app/public/style/admin.css index 2f5e742..5a0c1c0 100644 --- a/app/public/style/admin.css +++ b/app/public/style/admin.css @@ -138,20 +138,22 @@ th { top: 0; width: 100%; height: 100%; - overflow: auto; background-color: rgba(0,0,0,0.4); } .modal-content { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); background-color: #fefefe; - margin: 15% auto; padding: 20px; border: 1px solid #888; width: 50%; } .close-btn { - color: #fefefe; + color: black; float: right; font-size: 28px; font-weight: bold; @@ -159,7 +161,7 @@ th { } .close-btn:hover, .close-btn:focus { - color: black; + color: #656565; text-decoration: none; cursor: pointer; } -- GitLab