Skip to content

Commit 794ea4d

Browse files
authored
fix: sometimes the shadow does not show & update dumi version (#6)
* chore: update dumi version * fix index * add changelog
1 parent d6d9a2e commit 794ea4d

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.umirc.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ export default defineConfig({
1212
exportStatic: {},
1313
base: `/${name}/`,
1414
publicPath: `/${name}/`,
15-
styles: [
16-
`a img + svg {
17-
display: none;
18-
}`,
19-
],
2015
theme: {
2116
'@c-primary': '#3bacea',
2217
},

assets/index.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.react-image-shadow {
2+
z-index: 0;
3+
24
img {
35
transition: all 0.4s ease;
46
}

docs/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 🗓 Changelog
22

3+
## 1.0.1
4+
5+
`2020-12-07`
6+
7+
- fix: sometimes the shadow does not show & update dumi version. [#6](https://github.com/image-tool/react-image-shadow/pull/6)
8+
39
## 1.0.0
410

511
`2020-12-04`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"@types/enzyme": "^3.10.8",
6868
"@types/jest": "^26.0.16",
6969
"@umijs/fabric": "^2.2.2",
70-
"dumi": "^1.0.10",
70+
"dumi": "^1.1.0-rc.6",
7171
"enzyme": "^3.11.0",
7272
"enzyme-adapter-react-16": "^1.15.5",
7373
"enzyme-to-json": "^3.6.1",

0 commit comments

Comments
 (0)