feat: 完善 d2-scroll--demo

This commit is contained in:
FairyEver 2021-10-21 15:39:56 +08:00
parent c5cfb36fbb
commit bb465685c9
1 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,10 @@
width: 200px;
@apply border border-gray-800 rounded;
.row {
@apply px-4 py-2 bg-gray-700 text-gray-100 border-b border-gray-800;
@apply cursor-pointer px-4 py-2 bg-gray-700 text-gray-100 border-b border-gray-800;
&:hover {
@apply bg-gray-800 text-gray-200;
}
&:last-child {
@apply border-b-0;
}