From ac89b725d8b4ec3cdd67ebe9dcdf93bbd59168d6 Mon Sep 17 00:00:00 2001 From: Mohammed Abdullah Date: Fri, 13 Dec 2024 20:57:23 +0530 Subject: [PATCH] Update index.css --- index.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.css b/index.css index d9ea9c3..4589d67 100644 --- a/index.css +++ b/index.css @@ -87,18 +87,20 @@ body { z-index: 10; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); border-radius: 8px; /* Rounded corners for the dropdown */ +; } #results1 { position: absolute; top: 200px; left: 50%; transform: translateX(-50%); /* Centers the dropdown below the input */ - width: 50%; /* Match the input width */ + /* width: 50%; Match the input width */ + max-width: fit-content; background-color: rgba(0, 0, 0, 0); color:white; text-align:center; max-height: 300px; - overflow-y: auto; + /* overflow-y: auto; */ z-index: 10; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); border-radius: 8px; /* Rounded corners for the dropdown */