Skip to content

Commit d3c7c97

Browse files
authored
Improve copy button styling for better visibility and interaction (#2033)
1 parent 758d345 commit d3c7c97

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

assets/css/copy-button.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ pre .copy-button:focus {
1111
display: flex;
1212
opacity: 0;
1313
position: absolute;
14-
top: 5px;
15-
right: 5px;
16-
padding: 4px;
14+
top: 10px;
15+
right: 10px;
16+
padding: 8px;
1717
background-color: transparent;
18-
backdrop-filter: blur(4px);
18+
backdrop-filter: blur(8px);
1919
border-radius: var(--borderRadius);
20-
border: none;
20+
border: 1px solid var(--codeBorder);
2121
cursor: pointer;
2222
transition: var(--transition-all);
2323
font-family: var(--defaultFontFamily);

0 commit comments

Comments
 (0)