Skip to content

Commit

Permalink
fix: intro.js causes the page to be unclickable
Browse files Browse the repository at this point in the history
Signed-off-by: The1111mp <The1111mp@outlook.com>
  • Loading branch information
1111mp committed Nov 5, 2024
1 parent 246742a commit 1740535
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@
"typescript": "^5.6.3",
"vite": "^5.4.10"
},
"packageManager": "pnpm@9.12.2"
"packageManager": "pnpm@9.12.3"
}
8 changes: 7 additions & 1 deletion src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
@tailwind components;
@tailwind utilities;

html,body{
width: 100%;
height: 100%;
overflow: hidden;
}

#root {
height: 100vh;
height: 100%;
display: flex;
flex-direction: column;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/intro.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ tr.introjs-showElement > th {
font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
box-sizing: content-box;
position: absolute;
visibility: hidden;
visibility: visible !important;
z-index: 120;
background-color: transparent;
transition: all 0.3s ease-out;
Expand Down

0 comments on commit 1740535

Please sign in to comment.