mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-04-17 10:08:43 -04:00
remove global .icon style
This commit is contained in:
@@ -6,3 +6,9 @@
|
||||
.button.success {
|
||||
color: var(--success) !important;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 1.25em;
|
||||
height: 1.25em;
|
||||
vertical-align: -0.3em;
|
||||
}
|
||||
|
||||
@@ -54,7 +54,11 @@ const CopyButton = forwardRef(function CopyButton(
|
||||
disabled={!!copied}
|
||||
ref={ref}
|
||||
>
|
||||
{copied ? <CheckOcticon fill="currentColor" /> : <ClipboardOcticon fill="currentColor" />}
|
||||
{copied ? (
|
||||
<CheckOcticon className={styles.icon} fill="currentColor" />
|
||||
) : (
|
||||
<ClipboardOcticon className={styles.icon} fill="currentColor" />
|
||||
)}
|
||||
</button>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user