docs: improve icon copied style (#38809)

Fixed the click text display issue
This commit is contained in:
Greedy1997 2022-11-21 22:43:04 +08:00 committed by GitHub
parent b87b956e4b
commit 882b8740b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1280,6 +1280,7 @@ const GlobalStyles = () => {
width: 100%;
height: 100%;
color: #fff;
background: #1677ff;
line-height: 110px;
text-align: center;
opacity: 0;
@ -1288,7 +1289,6 @@ const GlobalStyles = () => {
}
&.copied::after {
top: -10px;
opacity: 1;
}
}