Skip to content

Commit 06cb799

Browse files
authored
docs: update demo (#461)
1 parent 966131e commit 06cb799

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

assets/bootstrap_white.less

+2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
margin-top: -@tooltip-arrow-width;
105105
border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
106106
border-right-color: @tooltip-arrow-color;
107+
transform: translateX(calc(-100% + @tooltip-shadow-width));
107108
}
108109

109110
&-placement-right &-arrow-inner,
@@ -135,6 +136,7 @@
135136
margin-top: -@tooltip-arrow-width;
136137
border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
137138
border-left-color: @tooltip-arrow-color;
139+
transform: translateX(calc(100% - @tooltip-shadow-width));
138140
}
139141

140142
&-placement-left &-arrow-inner,

tsconfig.json

+17-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,22 @@
88
"skipLibCheck": true,
99
"esModuleInterop": true,
1010
"paths": {
11-
"@/*": ["src/*"],
12-
"@@/*": [".dumi/tmp/*"],
13-
"rc-tooltip": ["src/index.tsx"]
11+
"@/*": [
12+
"src/*"
13+
],
14+
"@@/*": [
15+
".dumi/tmp/*"
16+
],
17+
"rc-tooltip": [
18+
"src/index.tsx"
19+
]
1420
}
1521
},
16-
"include": [".dumi/**/*", ".dumirc.ts", "./src/**/*.ts", "./src/**/*.tsx", "./docs/**/*.tsx", "./tests/**/*.tsx"]
17-
}
22+
"include": [
23+
".dumirc.ts",
24+
"./src/**/*.ts",
25+
"./src/**/*.tsx",
26+
"./docs/**/*.tsx",
27+
"./tests/**/*.tsx"
28+
]
29+
}

0 commit comments

Comments
 (0)