Skip to content

Commit

Permalink
fix: textarea cannot resize (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Apr 20, 2024
1 parent 5f3e14d commit 80a7e4f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/tauri/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,39 @@
/* } */
/* } */

/* custom scrollbar */
*::-webkit-scrollbar {
display: none;
}

textarea::-webkit-scrollbar {
display: block;
width: 20px;
}

textarea::-webkit-scrollbar-corner {
display: none;
}

textarea::-webkit-scrollbar-button {
display: none;
}

textarea::-webkit-scrollbar-track {
background-color: transparent;
}

textarea::-webkit-scrollbar-thumb {
background-color: #d6dee1;
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
}

textarea::-webkit-scrollbar-thumb:hover {
background-color: #a8bbbf;
}

*, a, button {
-ms-user-select: none;
-webkit-user-select: none;
Expand Down

0 comments on commit 80a7e4f

Please sign in to comment.