treehousedev / treehouse

https://treehouse.sh
MIT License
154 stars 12 forks source link

vertical resizer for inline block views #314

Open progrium opened 1 week ago

progrium commented 1 week ago

Both CodeBlock and InlineFrame should be vertically resizable. I imagine a VerticalResizer component under ui we can wrap both in that has a horizontal bar underneath its children DOM elements that can be clicked and dragged to resize.

Then CodeBlock and InlineFrame need to be modified to take up 100% of vertical height of the resizer element using CSS. While doing this, we should also make sure this means when you zoom/open a CodeBlock or InlineFrame node, it takes up all the vertical space of the panel.