chiasm-project / chiasm-layout

Nested box layout for Chiasm components.
MIT License
4 stars 2 forks source link

Fix Broken CSS positioning in Firefox #4

Open curran opened 8 years ago

curran commented 8 years ago

Address the original issue posted in https://github.com/chiasm-project/chiasm/issues/33 by@Arne-Pfeilsticker:

Hello @curran, I am thrilled by your Bootstrap + Chiasm example. Just as I had imagined.

I've changed the example from Bootstrap to Angular Material. In a Crome browser it works correctly. Unfortunately, it works in Firefox not quite right. The

<div class = "chiasm-container-for-non-SVG-element"> </ div>

is much too high.

You can reproduce the error in my Chaism Playground project. Here I try to put Chiasm in a larger application context. About comments and suggestions I would be very grateful.

curran commented 8 years ago

Possibly related to the behavior mentioned in https://github.com/chiasm-project/chiasm/issues/52

"sets the style of the div to be style="position: absolute; left: 0px; top: 0px;" which doesn't play nice with the bootstrap container."