样式微调、加入背景色,加入Tidio在线聊天

This commit is contained in:
tangly1024
2021-10-29 17:50:41 +08:00
parent b0164e1e39
commit 634ea6c389
10 changed files with 29 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ const Drawer = ({ post, currentTag, cRef, tags }) => {
</div>
</div>
{/* 背景蒙版 */}
<div className={(showDrawer ? 'block' : 'hidden') + ' fixed top-0 left-0 z-30 w-full h-full bg-black bg-opacity-50'}
<div id='drawer-background' className={(showDrawer ? 'block' : 'hidden') + ' fixed top-0 left-0 z-30 w-full h-full bg-black bg-opacity-50'}
onClick={handleMenuClick} />
</>
}