Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix button focus #7287

Merged
merged 14 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/site/components/Common/CodeBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ const CodeBox: FC<PropsWithChildren<CodeBoxProps>> = ({
<span className={styles.language}>{language}</span>

{showCopyButton && (
<Button kind="neutral" className={styles.action} onClick={onCopy}>
<Button
kind="neutral"
className={styles.action}
onClick={onCopy}
href="#"
AugustinMauroy marked this conversation as resolved.
Show resolved Hide resolved
>
<DocumentDuplicateIcon className={styles.icon} />
{t('components.common.codebox.copy')}
</Button>
Expand Down
4 changes: 2 additions & 2 deletions apps/site/components/Containers/MetaBar/index.module.css
AugustinMauroy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
dt {
@apply mb-2
text-sm
font-medium
font-[700]
text-neutral-800
dark:text-neutral-200;
}
Expand All @@ -40,7 +40,7 @@
a {
@apply max-xs:inline-block
max-xs:py-1
font-semibold
font-[500]
text-neutral-900
underline
dark:text-white;
Expand Down