Orz
Orz
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
I think myself and a few others here could use this in the future. Right now, it seems as if our brainstorming yesterday solved it with pure CSS
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
This is amazing!
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
so yeah, basically apply it on the global (body/html) CSS - you use this much in your projects?
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
ahh right
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
Well I'll be damned. Never even heard of this. Thanks! You're basically suggesting I have this in my global reset? (as I can't see how I would use it in this particular app)
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
Sorry for wasting your time - you can add "helped some asshole with his bullshit" to your CV now
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
Yeah I appreciate your help so much
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
Wow, yes that works too!]
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
I think this did actually fix it. Changing auto to min-content
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
grid-template-rows: minmax(25vh, min-content) minmax(25vh, auto);
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
and...
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
sigh 😅
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
with this, it's back to the header being really large/padded when there's no notes
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
Actually, I spoke too soon
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
I think that might have magically fixed everything?
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
grid-template-rows: minmax(25vh, auto) minmax(75vh, auto);
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
holy shit
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
makes the header huge for some reason
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
No description
201 replies
KPCKevin Powell - Community
Created by Orz on 12/10/2023 in #front-end
Page/container width suddenly increases when content appears, but not due to the content size itself
Of course if I do that.. then it won't auto grow on mobile... christ what a headache haha
201 replies