Skip to content

Commit 565ae71

Browse files
authoredJan 2, 2023
fix(theme): adjust styles for copied button (#1751)
1 parent f6c5e1f commit 565ae71

File tree

1 file changed

+3
-2
lines changed
  • src/client/theme-default/styles/components

1 file changed

+3
-2
lines changed
 

Diff for: ‎src/client/theme-default/styles/components/vp-doc.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,10 @@
448448
.vp-doc [class*='language-'] > button.copy:hover.copied::before {
449449
position: relative;
450450
left: -65px;
451-
display: block;
451+
display: flex;
452+
justify-content: center;
453+
align-items: center;
452454
border-radius: 4px 0 0 4px;
453-
padding-top: 8px;
454455
width: 64px;
455456
height: 40px;
456457
text-align: center;

0 commit comments

Comments
 (0)