1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-16 18:35:33 -04:00

fix custom image width/height when passed in as strings

This commit is contained in:
2022-01-24 11:37:12 -05:00
parent e5b862508c
commit e91595c8bf
6 changed files with 8 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
.copy {
.button {
line-height: 1;
cursor: pointer;
}
.success {
.button.success {
color: var(--success) !important;
}

View File

@@ -47,7 +47,7 @@ const CopyButton = forwardRef(function CopyButton(
return (
<button
className={cx({ copy: true, success: !!copied }, className)}
className={cx({ button: true, success: !!copied }, className)}
title="Copy to clipboard"
aria-label="Copy to clipboard"
onClick={handleCopy}