From e51e4bf2bb179151ffd4a5d3495af0640a78aacb Mon Sep 17 00:00:00 2001 From: ske087 Date: Tue, 22 Apr 2025 08:42:42 +0300 Subject: [PATCH] updated Css for Scan page --- py_app/app/static/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/py_app/app/static/style.css b/py_app/app/static/style.css index 630f18f..601dd3f 100644 --- a/py_app/app/static/style.css +++ b/py_app/app/static/style.css @@ -517,12 +517,14 @@ body.dark-mode .scan-table tr:nth-child(odd) { display: grid; grid-template-columns: 1fr 2fr; /* 1/3 and 2/3 layout */ gap: 20px; /* Add spacing between the columns */ - margin: 20px auto; - max-width: 100%; /* Ensure it spans the full width */ - width: 100%; /* Ensure it takes full width */ + margin: 20px; /* Add 20px space around the container */ + max-width: calc(100% - 40px); /* Ensure it spans the full width minus the margin */ + width: 100%; /* Ensure it takes the full width */ align-items: flex-start; /* Align items at the top */ overflow-x: hidden; /* Prevent horizontal overflow */ box-sizing: border-box; /* Include padding and borders in width calculations */ + border-radius: 5px; /* Optional: Add rounded corners */ + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */ } /* Input Form Card */