File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ class App extends Component {
84
84
85
85
// Pin a note and persist
86
86
handlePinNote = 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." ) ;
89
89
return ;
90
90
}
91
91
await this . handleIndexedDB ( "addpin" , { noteid } ) ;
Original file line number Diff line number Diff line change @@ -221,11 +221,11 @@ input[type="search"]::-webkit-search-cancel-button {
221
221
222
222
/* Note List Container*/
223
223
.note-list-pin {
224
- height : 245px ; /* Set the desired maximum height */
225
224
margin : 10px 0 ; /* Add margin for spacing */
226
225
padding-left : 0 ;
227
226
list-style : none; /* Remove default list styles */
228
- margin-bottom : 20px ; /* Add space between lists */
227
+ margin-bottom : 10px ; /* Add space between lists */
228
+ overflow-y : visible; /* Ensure the div expands to fit its contents */
229
229
}
230
230
231
231
/* Note List Container*/
You can’t perform that action at this time.
0 commit comments