fix layout when ‘close on top’ + GUI save dialog

This commit is contained in:
Jeff Nusz 2017-03-17 16:13:33 -07:00
parent 351165a2bc
commit aaa5c3e3d0

View File

@ -92,16 +92,30 @@ $button-height: 20px;
overflow-x: hidden; overflow-x: hidden;
&.has-save > ul { &.has-save > ul {
&.close-top {
margin-top: 0;
}
&.close-bottom {
margin-top: $row-height; margin-top: $row-height;
}
&.closed { &.closed {
margin-top: 0; margin-top: 0;
} }
} }
.save-row { .save-row {
position: fixed;
top: 0; top: 0;
z-index: 1002; z-index: 1002;
&.close-top {
position: relative;
}
&.close-bottom {
position: fixed;
}
} }
} }