mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
site: hide copy button defaultly
This commit is contained in:
parent
8c22381ffe
commit
0b88dfae5b
@ -173,6 +173,8 @@
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
border-radius: 20px;
|
||||
opacity: 0;
|
||||
|
||||
&:hover {
|
||||
color: @primary-color;
|
||||
transform: scale(1.2);
|
||||
@ -183,6 +185,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.highlight-wrapper:hover &-code-copy {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 0;
|
||||
width: auto;
|
||||
|
Loading…
Reference in New Issue
Block a user