style: adjust copy button style
This commit is contained in:
parent
644acb788b
commit
66d6c62fe8
@ -26,7 +26,7 @@ const Pre = (props) => {
|
||||
<button
|
||||
aria-label="Copy code"
|
||||
type="button"
|
||||
className={`absolute right-3 w-8 h-8 p-1 rounded border-2 bg-gray-700 dark:bg-gray-800 ${
|
||||
className={`absolute right-2 top-2 w-8 h-8 p-1 rounded border-2 bg-gray-700 dark:bg-gray-800 ${
|
||||
copied
|
||||
? 'focus:outline-none focus:border-green-400 border-green-400'
|
||||
: 'border-gray-300'
|
||||
|
Loading…
x
Reference in New Issue
Block a user