mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-26 07:46:06 -05:00
remove global .icon style
This commit is contained in:
@@ -70,6 +70,12 @@
|
||||
margin-right: var(--rounded-edge-radius);
|
||||
}
|
||||
|
||||
.result_icon {
|
||||
width: 1.3em;
|
||||
height: 1.3em;
|
||||
vertical-align: -0.3em;
|
||||
}
|
||||
|
||||
.result_success,
|
||||
.result_error {
|
||||
font-weight: 600;
|
||||
|
||||
@@ -163,7 +163,7 @@ const ContactForm = ({ className }: Props) => {
|
||||
<span>Sending...</span>
|
||||
) : (
|
||||
<>
|
||||
<SendIcon className={classNames("icon", styles.send_icon)} /> <span>Send</span>
|
||||
<SendIcon className={classNames(styles.send_icon)} /> <span>Send</span>
|
||||
</>
|
||||
)}
|
||||
</button>
|
||||
@@ -175,7 +175,12 @@ const ContactForm = ({ className }: Props) => {
|
||||
hidden: !submitted || !feedback || isSubmitting,
|
||||
})}
|
||||
>
|
||||
{success ? <CheckOcticon fill="CurrentColor" /> : <XOcticon fill="CurrentColor" />} {feedback}
|
||||
{success ? (
|
||||
<CheckOcticon className={styles.result_icon} fill="CurrentColor" />
|
||||
) : (
|
||||
<XOcticon className={styles.result_icon} fill="CurrentColor" />
|
||||
)}{" "}
|
||||
{feedback}
|
||||
</span>
|
||||
</div>
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user