cdglabs / apparatus

A hybrid graphics editor and programming environment for creating interactive diagrams.
http://aprt.us/
MIT License
1.04k stars 59 forks source link

fix RightPanelContainer width #35

Closed joshuahhh closed 8 years ago

joshuahhh commented 8 years ago

Currently, RightPanelContainer is set to 100% width with absolute positioning, but since its parents are all statically positioned, it ends up taking its width from the window itself. This makes the div super-wide, which messes up wrapping of expressions and things like that. (For instance, the text headings on the outline and inspector are missing right now, since they're off the right side of the screen.)

This fixes the problem by setting RightPanel to relative positioning like CreatePanel, returning the width behavior to what it was like before #24.

electronicwhisper commented 8 years ago

Oh. Good catch. I am merging this.