docs: fix banner blur (#45504)

This commit is contained in:
MadCcc 2023-10-25 10:54:42 +08:00 committed by GitHub
parent 2e9354c3b3
commit 6a525ccbec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,8 @@ const useStyle = () => {
position: absolute;
inset: 0;
backdrop-filter: blur(4px);
transition: all 1s ease;
opacity: 1;
transition: opacity 1s ease;
`);
return {
@ -54,7 +55,7 @@ const useStyle = () => {
row-gap: ${token.marginXL}px;
&:hover .${mask} {
backdrop-filter: none;
opacity: 0;
}
`,