style: 代码块 margin 与其他块统一、代码块语言的位置有点难看
This commit is contained in:
parent
a43188edf8
commit
0230c63ba5
1 changed files with 8 additions and 2 deletions
|
@ -281,7 +281,7 @@
|
|||
}
|
||||
|
||||
.code-block:not(pre) {
|
||||
margin: 1em 0;
|
||||
margin: 2px 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
.protyle-action {
|
||||
|
@ -299,8 +299,14 @@
|
|||
align-self: center;
|
||||
}
|
||||
|
||||
.protyle-icon,
|
||||
.protyle-icon {
|
||||
opacity: 0;
|
||||
transition: var(--b3-transition);
|
||||
}
|
||||
|
||||
.protyle-action__language {
|
||||
position: absolute;
|
||||
left: 1em;
|
||||
opacity: 0;
|
||||
transition: var(--b3-transition);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue