Skip to content

Commit 556fc6b

Browse files
committed
Fix: Sort div bottom #5
1 parent 934f243 commit 556fc6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/styles.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ body {
3333
border-left: 1px solid #dcdcde;
3434
border-bottom: 1px solid #dcdcde;
3535
display: flex;
36+
overflow-y: auto;
3637
flex-direction: column;
3738
flex-shrink: 0;
3839
transition: transform 200ms ease-in-out;
@@ -225,7 +226,7 @@ input[type="search"]::-webkit-search-cancel-button {
225226

226227
/* Note List Container*/
227228
.note-list-pin {
228-
height: 300px; /* Set the desired maximum height */
229+
max-height: 300px; /* Set the desired maximum height */
229230
overflow-y: auto; /* Enable vertical scrolling */
230231
margin: 10px 0; /* Add margin for spacing */
231232
padding-left: 0;
@@ -241,7 +242,6 @@ input[type="search"]::-webkit-search-cancel-button {
241242
list-style: none; /* Remove default list styles */
242243
}
243244

244-
245245
/* Add this to your existing CSS */
246246
.note-list-item {
247247
height: auto;
@@ -343,7 +343,7 @@ input[type="search"]::-webkit-search-cancel-button {
343343
}
344344

345345
.pin-btn:hover {
346-
color: blue; /* Change to any hover color */
346+
color: #777; /* Change to any hover color */
347347
}
348348

349349
button {

0 commit comments

Comments
 (0)