mirror of
https://github.com/flynx/ImageGrid.git
synced 2026-01-04 09:21:08 +00:00
refactoring...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
64f13db83f
commit
ec82d1985c
@ -1,4 +1,6 @@
|
|||||||
.panel {
|
.panel {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
max-width: 450px;
|
max-width: 450px;
|
||||||
|
|||||||
@ -16,11 +16,6 @@ function makePanel(title, open, editable_title){
|
|||||||
var panel = $('<details/>')
|
var panel = $('<details/>')
|
||||||
.prop('open', open == null ? true : open)
|
.prop('open', open == null ? true : open)
|
||||||
.addClass('panel noScroll')
|
.addClass('panel noScroll')
|
||||||
.css({
|
|
||||||
position: 'absolute',
|
|
||||||
top: '100px',
|
|
||||||
left: '100px',
|
|
||||||
})
|
|
||||||
.append($('<summary>'+title+'</summary>')
|
.append($('<summary>'+title+'</summary>')
|
||||||
.attr({
|
.attr({
|
||||||
contenteditable: editable_title == null ? 'false' : 'true',
|
contenteditable: editable_title == null ? 'false' : 'true',
|
||||||
@ -105,7 +100,5 @@ function makeSubPanel(title, open, parent){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* vim:set ts=4 sw=4 : */
|
* vim:set ts=4 sw=4 : */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user