fix: Tooltip arrow style (#28594)

This commit is contained in:
偏右 2020-12-29 16:27:49 +08:00 committed by GitHub
parent 84c65582c7
commit eb01bee6be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@
&-content {
box-shadow: @tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
transform: translateY(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
transform: translateY((-@tooltip-arrow-rotate-width / 2)) rotate(45deg);
}
}
@ -120,7 +120,7 @@
&-content {
box-shadow: -@tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
transform: translateX(@tooltip-arrow-rotate-width / 2) rotate(45deg);
transform: translateX((@tooltip-arrow-rotate-width / 2)) rotate(45deg);
}
}
@ -144,7 +144,7 @@
&-content {
box-shadow: @tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
transform: translateX(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
transform: translateX((-@tooltip-arrow-rotate-width / 2)) rotate(45deg);
}
}
@ -168,7 +168,7 @@
&-content {
box-shadow: -@tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
transform: translateY(@tooltip-arrow-rotate-width / 2) rotate(45deg);
transform: translateY((@tooltip-arrow-rotate-width / 2)) rotate(45deg);
}
}