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 {
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,12 @@ 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 */
225
+ min-height : 50px ;
226
226
padding-left : 0 ;
227
227
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 */
229
230
}
230
231
231
232
/* Note List Container*/
You can’t perform that action at this time.
0 commit comments