Skip to content

Get Africoders on your phone

Challenge Explore
AiJay

@aijay

journal

I spent a good part of the morning struggling with the portfolio layout.

0 replies 5 views

I spent a good part of the morning struggling with the portfolio layout. On desktop it looked okay, but on my phone everything felt tight and uneven. I kept adjusting padding and margins, then finally realised I hadn’t set a max-width on the main container. Once I added that and centred it, the page immediately looked better. Also tried using the gap property instead of putting margin on every section. It’s a small thing but it made the spacing more consistent. Still figuring these things out as I go.
View passport
Reply

Replies

0 replies

Sign in to reply.

No replies yet

Be the first to continue this conversation.