lucavi: (Default)
lucavi ([personal profile] lucavi) wrote 2023-05-10 01:22 am (UTC)

Here's the code for the adjusted layout! It does reduce the amount of space for the name field though, so that might look wonky on some mobile layouts as a warning.


And then here's nerd stuff about the grid layout in case you want to make further adjustments yourself, but definitely feel free to ask me anyway! Basically what's going on is that the grid-template-columns:5% 110px auto 5%; property currently creates a column layout grid that's essentially:
5%
110px
icon
auto
name field
5%

So the grid-template-columns: property has to be adjusted in a way that makes room for the new stuff, so like:
5%
110px
icon1
110px
icon2
auto
name field
5%

And then adding on the new divs containing what you want and changing their grid-column: number so it's in the column you want it to be in. Hope this helps in figuring out grid, which makes for cool layouts but is a pain in the butt to understand at first lol.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting