Skip to content

Commit f6273ff

Browse files
committed
CHG: enlarge rotate-icon clickable region
1 parent 408feb1 commit f6273ff

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Rect/StyledRect.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,15 @@ export default styled.div`
5757
5858
.rotate {
5959
position: absolute;
60-
cursor: pointer;
6160
left: 50%;
6261
top: -26px;
63-
transform: translateX(-50%);
62+
width: 18px;
63+
height: 18px;
64+
margin-left: -9px;
65+
display: flex;
66+
justify-content: center;
67+
align-items: center;
68+
cursor: pointer;
6469
}
6570
6671
.t,

0 commit comments

Comments
 (0)