Skip to content

Commit 4875a62

Browse files
committed
feat: update hint message box styles
1 parent 423bc9b commit 4875a62

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/components/ui/Hint.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type HintProps = {
66
};
77

88
function Hint({ children, className }: HintProps): ReactElement {
9-
return <div className={`bg-yellow-50 text-yellow-900 py-5 px-8 border border-solid border-yellow-100 text-base hint-container ${className}`}>{children}</div>;
9+
return <div className={`bg-blue-50 text-blue-500 p-3 border border-blue-200 rounded text-base hint-container ${className}`}>{children}</div>;
1010
}
1111

1212
export default Hint;

src/pages/communities/[slug]/challenges/[challenge_id]/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ export default function ChallengePage() {
144144
<div className="grid mt-8 space-y-8">
145145
<Hint>
146146
<p
147-
className="text-lg py-4"
148147
dangerouslySetInnerHTML={{
149148
__html: t(
150149
challenge?.multipleSubmissions ? "communities.challenge.submission.multiple-submissions" : "communities.challenge.submission.no-multiple-submissions"

src/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ div {
349349
}
350350

351351
.hint-container a {
352-
font-weight: 400;
352+
font-weight: 500;
353353
text-decoration: underline;
354354
}
355355

0 commit comments

Comments
 (0)