Skip to content

Commit

Permalink
fix: fixing web mask issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherlockouo committed Dec 19, 2023
1 parent 0661615 commit 8af718d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ const Layout = () => {
>
<div
className={cx(
window.env?.isElectron && !fullscreen && css`
border-radius: 12px;
window.env?.isElectron && !fullscreen && 'rounded-12',
window.env?.isElectron && css`
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.05); /* 设置半透明背景颜色 */
// z-index: 1; /* 设置层级为较高的值,确保遮罩在内容上方 */
z-index: 1; /* 设置层级为较高的值,确保遮罩在内容上方 */
`
)}
></div>
Expand Down

0 comments on commit 8af718d

Please sign in to comment.