Slightly improved UI interaction

This commit is contained in:
AmeyGohil
2022-03-27 10:44:48 +05:30
parent dcb90e0982
commit ddc78cc46c
+3 -2
View File
@@ -75,6 +75,7 @@ $animationFillMode: forwards;
opacity: 0;
position: relative;
cursor: pointer;
$interactionOffset: ($nodeSize - $edgeBreadth) * 4;
&:after, &:before {
content: "";
@@ -89,7 +90,7 @@ $animationFillMode: forwards;
width: $edgeLength;
&:after, &:before {
height: ($nodeSize - $edgeBreadth);
height: $interactionOffset;
width: 100%;
left: 0;
}
@@ -111,7 +112,7 @@ $animationFillMode: forwards;
margin: 0 ($nodeSize - $edgeBreadth) / 2;
&:after, &:before {
width: ($nodeSize - $edgeBreadth);
width: $interactionOffset;
height: 100%;
top: 0;
}