File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ class App extends Component {
8484
8585// Pin a note and persist
8686handlePinNote = async ( noteid ) => {
87- if ( this . state . pinnedNotes . length >= 5 ) {
88- alert ( "You can only pin up to 5 notes." ) ;
87+ if ( this . state . pinnedNotes . length >= 10 ) {
88+ alert ( "You can only pin up to 10 notes." ) ;
8989 return ;
9090 }
9191 await this . handleIndexedDB ( "addpin" , { noteid } ) ;
Original file line number Diff line number Diff line change @@ -221,11 +221,12 @@ input[type="search"]::-webkit-search-cancel-button {
221221
222222/* Note List Container*/
223223.note-list-pin {
224- height : 245px ; /* Set the desired maximum height */
225224 margin : 10px 0 ; /* Add margin for spacing */
225+ min-height : 50px ;
226226 padding-left : 0 ;
227227 list-style : none; /* Remove default list styles */
228- margin-bottom : 20px ; /* Add space between lists */
228+ margin-bottom : 10px ; /* Add space between lists */
229+ overflow-y : visible; /* Ensure the div expands to fit its contents */
229230}
230231
231232/* Note List Container*/
You can’t perform that action at this time.
0 commit comments