Repository navigation
fix(client, curriculum): center images in challenge description - #55190
Conversation
Dario-DC
left a comment
There was a problem hiding this comment.
In case you haven't done it yet, could you include this two? 🙂
|
@Dario-DC Hah, I missed those. Thank you! 😄 |
ojeytonwilliams
left a comment
There was a problem hiding this comment.
Nice work, @huyenltnguyen.
LGTM 👍
|
Wondering if this is the best approach. I'm fine with it, but couldn't we do something like Also wondering about other clients. Maybe it will make things more difficult for mobile or other future clients, in that they may have to overwrite the inline styles. Perhaps that's fine. Also now wondering if the left alignment is better - or maybe, good enough. |
The only reason I didn't go with adding the styles in a stylesheet is because there are already inline styles, so keeping the styles in one place is easier to manage.
I was wondering the same. I'm not sure if we want to have inline styles in the curriculum content at all, and was thinking how we could style the content in a different way. I think an alternative approach is to include the desired layout/arrangement in the metadata, similar to the Do you think this approach makes sense, and is it something we can add to CAP / CAP API? |
|
Thanks Huyen! |
Checklist:
mainbranch of freeCodeCamp.This PR fixes an image alignment issue caused by #55068.
Screenshots