Skip to content

Commit 17cd21c

Browse files
committed
🐛 fix(docs): prevent copy button from overlapping code block text
1 parent 889a651 commit 17cd21c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ a:hover {
297297
.code-block {
298298
position: relative;
299299
}
300+
.code-block code,
301+
.code-block pre {
302+
padding-right: 72px;
303+
}
300304
.copy-btn {
301305
position: absolute;
302306
top: 10px;

0 commit comments

Comments
 (0)