Skip to content

Commit

Permalink
fix: Change text color of preview text
Browse files Browse the repository at this point in the history
  • Loading branch information
DenverCoder1 committed Jun 29, 2023
1 parent cc773bc commit a2c3d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/BadgePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class BadgePreview extends React.Component<{ url: string, label: string, onPrevi
return (
<Form.Group controlId="formFile" className="mb-3 d-flex align-items-center flex-column">
<h3>{label}</h3>
{url ? <img className="m-2" src={url} alt="badge preview" onLoad={this.handleSuccess} onError={this.handleError} /> : <Card.Text className="text-muted m-2">Upload a file to see a preview</Card.Text>}
{url ? <img className="m-2" src={url} alt="badge preview" onLoad={this.handleSuccess} onError={this.handleError} /> : <Card.Text className="text-white-50 m-2">Upload a file to see a preview</Card.Text>}
</Form.Group>
);
}
Expand Down

0 comments on commit a2c3d9c

Please sign in to comment.