File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6363
6464 div .container {
6565 width : 80% ;
66- max-width : 600px ; /* optional: limit max width for better look */
66+ max-width : 600px ;
6767 padding : 50px 25px ;
6868 background-color : # ffffff ;
6969 border-radius : 25px ;
7070 box-shadow : 3px 6px 17px rgba (0 , 0 , 0 , 0.2 );
7171 text-align : center;
7272 }
7373
74- /* NEW: Wrapper for input + suggestions */
74+ /* Wrapper for input + suggestions */
7575 .search-wrapper {
7676 position : relative; /* Important: makes ul position relative to this */
7777 width : 100% ;
9090
9191 ul # suggestion {
9292 position : absolute;
93- top : 100% ; /* directly below the input */
93+ top : 100% ;
9494 left : 0 ;
95- right : 0 ; /* stretches to full width of wrapper */
96- margin : 5px 0 0 0 ; /* small gap below input */
95+ right : 0 ;
96+ margin : 5px 0 0 0 ;
9797 background-color : # fff ;
9898 list-style : none;
9999 box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.15 );
You can’t perform that action at this time.
0 commit comments