File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -608,17 +608,15 @@ handleUnpinNote = async (noteid) => {
608608 handleSearchNotes = { this . handleSearchNotes }
609609 />
610610
611- { /* Render pinned notes separately */ }
612611 < h4 className = "fixed-header" > Pinned Notes</ h4 >
613- < ul className = "note-list-pin" >
612+ < div className = "note-list-pin" >
614613 { pinnedNoteListItems }
615- </ ul >
614+ </ div >
616615
617- { /* Render unpinned notes separately */ }
618616 < h4 className = "fixed-header" > Other Notes</ h4 >
619- < ul className = "note-list-other" >
617+ < div className = "note-list-other" >
620618 { otherNoteListItems }
621- </ ul >
619+ </ div >
622620
623621 < NoteSort
624622 handleSortNotes = { this . handleSortNotes }
Original file line number Diff line number Diff line change @@ -226,8 +226,8 @@ input[type="search"]::-webkit-search-cancel-button {
226226
227227/* Note List Container*/
228228.note-list-pin {
229- max- height: 300 px ; /* Set the desired maximum height */
230- overflow-y : scroll ; /* Enable vertical scrolling */
229+ height : 270 px ; /* Set the desired maximum height */
230+ overflow-y : auto ; /* Enable vertical scrolling */
231231 margin : 10px 0 ; /* Add margin for spacing */
232232 padding-left : 0 ;
233233 list-style : none; /* Remove default list styles */
@@ -236,7 +236,7 @@ input[type="search"]::-webkit-search-cancel-button {
236236
237237/* Note List Container*/
238238.note-list-other {
239- overflow-y : scroll ; /* Enable vertical scrolling */
239+ overflow-y : auto ; /* Enable vertical scrolling */
240240 margin : 10px 0 ; /* Add margin for spacing */
241241 padding-left : 0 ;
242242 list-style : none; /* Remove default list styles */
You can’t perform that action at this time.
0 commit comments