Skip to content

Commit 4119b15

Browse files
committed
Fixes
1 parent 661303a commit 4119b15

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/_includes/style/code-copy.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@
8686
position: relative;
8787

8888
> .code-group-header {
89-
margin-right: 5.9rem;
89+
min-height: 2.8rem;
90+
margin-right: 5.8rem;
9091
}
9192

9293
> .code-copy-button {
93-
top: 0.35rem;
94+
top: 0.45rem;
9495
right: 0.45rem;
9596
}
9697
}

src/_includes/style/code-group.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020

2121
&-button {
2222
position: relative;
23+
display: inline-flex;
2324
padding: 0.65rem 1rem;
25+
align-items: center;
2426
color: var(--muted);
2527
cursor: pointer;
2628
font-size: 0.72rem;

0 commit comments

Comments
 (0)