fix(techdocs): add focus+hover styling to codeblock CTC button (#29792)
* fix(techdocs): add aria-label to codeblock CTC button Signed-off-by: logonoff <git@logonoff.co> * fix(techdocs): add focus+hover styling to codeblock CTC button Signed-off-by: logonoff <git@logonoff.co> --------- Signed-off-by: logonoff <git@logonoff.co>
This commit is contained in:
@@ -67,9 +67,10 @@ const CopyToClipboardButton = ({ text }: CopyToClipboardButtonProps) => {
|
||||
leaveDelay={1000}
|
||||
>
|
||||
<IconButton
|
||||
style={{ color: 'inherit', position: 'absolute' }}
|
||||
style={{ position: 'absolute' }}
|
||||
className="md-clipboard md-icon"
|
||||
onClick={handleClick}
|
||||
aria-label="Copy to clipboard"
|
||||
>
|
||||
<CopyToClipboardIcon />
|
||||
</IconButton>
|
||||
|
||||
Reference in New Issue
Block a user