Fix margin block on copy code button when code block is inside LI
This commit is contained in:
parent
898bd01b83
commit
3ceaeeafda
@ -51,6 +51,7 @@ code {
|
|||||||
|
|
||||||
.copy-code-wrapper {
|
.copy-code-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin-block-start: 1em; // Fixes wrong margin when code block is inside listed item
|
||||||
}
|
}
|
||||||
|
|
||||||
.copy-code {
|
.copy-code {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user