Dumb-Code / DumbCode-Studio

The complete suite of DumbCode made tools for modeling, animating and managing minecraft style game assets
https://studio.dumbcode.net/
1 stars 1 forks source link

Popped out panels should have their own layouts #55

Open NeusFear opened 3 years ago

NeusFear commented 3 years ago

As css tends to be finicky I think that the best way to make sure that the popped-out panels work well and are responsive like the embedded versions we should have a way to style them independently. The main example of this being an issue is with the modeler "cube edit" pannel displaying everything in "block" form as opposed to in a grid or something more sensible.

I'll be happy to make these layouts if @Wyn-Price can code in the panels themselves. I think this would be nice to have a "panels" directory just like we have "tabs" and "modules" directories for these things.

Wyn-Price commented 3 years ago

The panels can have their own css, but the html tags have to be identical. This is because the html files are essentially cut and paste into the popout window

NeusFear commented 3 years ago

On the react branch we could just pass a prop to pannels that can pop out as a boolean so we can decide what things should look like