File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
pages/contributing/translation-program Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,12 @@ const Avatar = styled.img`
8383 }
8484`
8585
86+ const NameContainer = styled . div `
87+ @media (max-width: ${ ( props ) => props . theme . breakpoints . s } ) {
88+ max-width: 100px;
89+ }
90+ `
91+
8692const Width40 = styled . div `
8793 width: 40px;
8894`
@@ -197,10 +203,15 @@ const TranslationLeaderboard = () => {
197203 ) }
198204 < TextContainer >
199205 < Avatar src = { user . avatarUrl } />
200- < div >
206+ < NameContainer >
201207 { user . username }
202- < Language > { languages [ 0 ] ?. name || "" } </ Language >
203- </ div >
208+ < Language >
209+ { languages
210+ . slice ( 0 , 3 )
211+ . map ( ( language ) => language . name )
212+ . join ( ", " ) }
213+ </ Language >
214+ </ NameContainer >
204215 </ TextContainer >
205216 </ Flex >
206217 < WordsContainer >
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ const HorizontalUl = styled.ul`
3636 @media (max-width: ${ ( props ) => props . theme . breakpoints . m } ) {
3737 grid-template-columns: 1fr 1fr;
3838 }
39+
40+ @media (max-width: ${ ( props ) => props . theme . breakpoints . s } ) {
41+ grid-template-columns: 1fr;
42+ }
3943`
4044
4145const Contributors = ( { location } ) => {
You can’t perform that action at this time.
0 commit comments