fishkingsin / dat-gui

Automatically exported from code.google.com/p/dat-gui
0 stars 0 forks source link

unwanted margin with folders and save gui #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add folders
2. add 'load: JSON' to the parameters so that you have the save/new/revert bar 
on top.
3. open the folder and you'll see there is an unwanted gap between the open 
folder and the area above.

What is the expected output? What do you see instead?
the folder should react normally and open without moving.  instead the folder 
jumps down due to the margin set with ".dg.a.has-save"

What version of the product are you using? On what operating system?
OSX using chrome

Please provide any additional information below.

Original issue reported on code.google.com by cj.gam...@gmail.com on 10 Jun 2012 at 6:14

GoogleCodeExporter commented 9 years ago
adding this CSS override did the trick for me.

.dg.a.has-save ul .folder ul {
    margin-top: 0;
}

It should probably go in the SASS somewhere, but I just popped it in my page 
CSS as an override.

Original comment by alamp...@gmail.com on 12 Dec 2012 at 3:09