mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
fix layout when ‘close on top’ + GUI save dialog
This commit is contained in:
parent
351165a2bc
commit
aaa5c3e3d0
@ -92,16 +92,30 @@ $button-height: 20px;
|
||||
overflow-x: hidden;
|
||||
|
||||
&.has-save > ul {
|
||||
|
||||
&.close-top {
|
||||
margin-top: 0;
|
||||
}
|
||||
&.close-bottom {
|
||||
margin-top: $row-height;
|
||||
}
|
||||
|
||||
&.closed {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.save-row {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 1002;
|
||||
|
||||
&.close-top {
|
||||
position: relative;
|
||||
}
|
||||
&.close-bottom {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user