fix: fix the scroll bar shows when there are only one line in ```
This commit is contained in:
parent
764e110d32
commit
adce82a54c
@ -215,7 +215,7 @@ p code,
|
|||||||
p kbd {
|
p kbd {
|
||||||
padding: 0.1em 0.3em;
|
padding: 0.1em 0.3em;
|
||||||
/* top, bottom */
|
/* top, bottom */
|
||||||
margin-right: 4px;
|
/* margin-right: 4px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
td pre {
|
td pre {
|
||||||
@ -860,14 +860,14 @@ ul.footer-menu>li {
|
|||||||
|
|
||||||
.highlight:hover .highlight-copy-btn {
|
.highlight:hover .highlight-copy-btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight-copy-btn {
|
.highlight-copy-btn {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 18px;
|
top: 0px;
|
||||||
right: 2px;
|
right: 0px;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
@ -875,7 +875,7 @@ ul.footer-menu>li {
|
|||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: rgba(255, 255, 255, 0.1);
|
background-color: rgba(255, 255, 255, 0.1);
|
||||||
min-width: 25px;
|
min-width: 22px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: border 0.3s;
|
transition: border 0.3s;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user