coregis / cbf-programs-map-2023

Rebranding and other updates to the Raise Your Hand Texas Programs Map
GNU General Public License v3.0
0 stars 0 forks source link

Make the sidebar behave itself a bit better #22

Closed nein09 closed 11 months ago

nein09 commented 11 months ago

I'm going to isolate this little bit into a PR so you can see how close you were to getting this to do what you want!

What I did here has to do with the way that display: flex works. What that does is it lays out the immediate children of the thing that's set to display: flex very neatly. So in order to get that in the sidebar, here's what I did:

I put the borders on the divs after that like they appear in the Figma file, just because putting the sections in their own divs made that easy.

This won't 'stick' your footer to the bottom yet but the content in this sidebar is tall enough that this might not matter - let me know if you'd like me to stick the footer at the bottom.

I can get this closer to looking like the Figma file if you'd like, by styling the dropdowns and scootching some things around, just let me know if you'd like that. I'll try and find where RHYT showed up next, though.

eldang commented 11 months ago

I'm going to take the liberty of merging this so that my next chunk of work starts from the most up to date state of things.