Skip to content

Commit

Permalink
fix(grid-item): resolve the issue of ineffective click when hover is …
Browse files Browse the repository at this point in the history
…true (#2508)
  • Loading branch information
betavs authored Dec 21, 2023
1 parent 15ec577 commit eecbe1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grid-item/grid-item.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
// float: left;
display: inline-block;
vertical-align: top;
background-color: @grid-item-bg-color;

&--hover {
background-color: @grid-item-hover-bg-color;
Expand All @@ -48,7 +49,6 @@
overflow: hidden;
position: relative;
padding: @grid-item-padding 0 24rpx;
background-color: @grid-item-bg-color;

&--horizontal {
flex-direction: row;
Expand Down

0 comments on commit eecbe1b

Please sign in to comment.