File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
pages/communities/[slug]/challenges/[challenge_id] Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ type HintProps = {
6
6
} ;
7
7
8
8
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-primary p-3 border border-blue-200 rounded text-base hint-container ${ className } ` } > { children } </ div > ;
10
10
}
11
11
12
12
export default Hint ;
Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ export default function ChallengePage() {
144
144
< div className = "grid mt-8 space-y-8" >
145
145
< Hint >
146
146
< p
147
- className = "text-lg py-4"
148
147
dangerouslySetInnerHTML = { {
149
148
__html : t (
150
149
challenge ?. multipleSubmissions ? "communities.challenge.submission.multiple-submissions" : "communities.challenge.submission.no-multiple-submissions"
@@ -170,11 +169,13 @@ export default function ChallengePage() {
170
169
</ div >
171
170
) : (
172
171
< div >
173
- < Hint className = "mt-6 flex flex-col md:flex-row" >
174
- < p > To be able to submit</ p >
175
- < Link className = "underline" href = "/login" >
176
- Login.
177
- </ Link >
172
+ < Hint className = "mt-6" >
173
+ < p >
174
+ To be able to submit
175
+ < Link className = "underline pl-1" href = "/login" >
176
+ Login.
177
+ </ Link >
178
+ </ p >
178
179
</ Hint >
179
180
</ div >
180
181
) }
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ div {
337
337
}
338
338
339
339
.hint-container a {
340
- font-weight : 400 ;
340
+ font-weight : 500 ;
341
341
text-decoration : underline;
342
342
}
343
343
You can’t perform that action at this time.
0 commit comments