Browse Source

fix: Tooltip arrow style (#28594)

pull/28616/head
偏右 4 years ago
committed by GitHub
parent
commit
eb01bee6be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      components/tooltip/style/index.less

8
components/tooltip/style/index.less

@ -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);
}
}

Loading…
Cancel
Save