File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
pages/communities/[slug]/challenges/[challenge_id] Expand file tree Collapse file tree 2 files changed +9
-7
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 text-base hint-container ${ className } ` } > { children } </ div > ;
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 > ;
10
10
}
11
11
12
12
export default Hint ;
Original file line number Diff line number Diff line change @@ -133,12 +133,14 @@ export default function ChallengePage(props: {
133
133
) }
134
134
</ div >
135
135
) : (
136
- < Hint className = "mt-6 flex flex-col md:flex-row" >
137
- < p > To be able to submit</ p >
138
- < Link className = "underline" href = "/login" >
139
- Login
140
- </ Link >
141
- </ Hint >
136
+ < div >
137
+ < Hint className = "mt-6 flex flex-col md:flex-row" >
138
+ < p > To be able to submit</ p >
139
+ < Link className = "underline" href = "/login" >
140
+ Login.
141
+ </ Link >
142
+ </ Hint >
143
+ </ div >
142
144
) }
143
145
</ div >
144
146
</ Wrapper >
You can’t perform that action at this time.
0 commit comments