二货爱吃白萝卜
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
components/popover/style/index.tsx
|
|
@ -2,7 +2,7 @@ import { resetComponent } from '../../style'; |
|
|
|
import { initZoomMotion } from '../../style/motion'; |
|
|
|
import getArrowStyle from '../../style/placementArrow'; |
|
|
|
import type { FullToken, GenerateStyle, PresetColorType } from '../../theme/internal'; |
|
|
|
import { genComponentStyleHook, mergeToken, PresetColors } from '../../theme/internal'; |
|
|
|
import { PresetColors, genComponentStyleHook, mergeToken } from '../../theme/internal'; |
|
|
|
|
|
|
|
export interface ComponentToken { |
|
|
|
zIndexPopup: number; |
|
|
@ -48,6 +48,7 @@ const genBaseStyle: GenerateStyle<PopoverToken> = (token) => { |
|
|
|
textAlign: 'start', |
|
|
|
cursor: 'auto', |
|
|
|
userSelect: 'text', |
|
|
|
transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, |
|
|
|
'--antd-arrow-background-color': colorBgElevated, |
|
|
|
|
|
|
|
'&-rtl': { |
|
|
|