Skip to content

Commit

Permalink
🐛 fix: Fix Previewer
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Nov 22, 2024
1 parent 0a8e6ef commit 32473d1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install bun
uses: oven-sh/setup-bun@v1
uses: oven-sh/setup-bun@v2

- name: Install deps
run: bun i
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install bun
uses: oven-sh/setup-bun@v1
uses: oven-sh/setup-bun@v2

- name: Install deps
run: bun i
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@types/node": "^20.17.6",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/coverage-v8": "~1.2.2",
"clean-pkg-json": "^1.2.0",
"commitlint": "^19.6.0",
"concurrently": "^9.1.0",
Expand All @@ -99,9 +99,9 @@
"father": "^4.5.1",
"father-plugin-dumi-theme": "1.0.0-rc.1",
"husky": "^9.1.7",
"jsdom": "^22.1.0",
"jsdom": "^24.1.3",
"leva": "^0.9.35",
"lint-staged": "^13.3.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -110,14 +110,14 @@
"semantic-release": "^21.1.2",
"stylelint": "^15.11.0",
"typescript": "^5.6.3",
"vitest": "^1.6.0"
"vitest": "~1.2.2"
},
"peerDependencies": {
"@giscus/react": ">=3",
"@lobehub/ui": ">=1",
"antd": ">=5",
"antd-style": ">=3",
"dumi": ">=2",
"dumi": ">=2.4",
"lucide-react": ">=0.292",
"react": ">=18",
"react-dom": ">=18",
Expand Down
3 changes: 3 additions & 0 deletions src/builtins/Previewer/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ export const useStyles = createStyles(({ css, token, prefixCls }) => {
`,
container: css`
.dumi-default-previewer {
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
border-color: ${token.colorBorderSecondary};
&-demo {
Expand Down

0 comments on commit 32473d1

Please sign in to comment.