mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
now buttons should not split into multiple lines...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
89e04829f9
commit
bc3f7166da
@ -165,6 +165,11 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
|
.browse-widget .list .button-container {
|
||||||
|
display: inline-block;
|
||||||
|
float: right;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.browse-widget .list .button {
|
.browse-widget .list .button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float:right;
|
float:right;
|
||||||
|
|||||||
@ -1029,6 +1029,11 @@ var BrowserPrototype = {
|
|||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// button container...
|
||||||
|
var btn = $('<span/>')
|
||||||
|
.addClass('button-container')
|
||||||
|
.appendTo(res)
|
||||||
|
|
||||||
// custom buttons...
|
// custom buttons...
|
||||||
buttons && buttons
|
buttons && buttons
|
||||||
// make the order consistent for the user -- first
|
// make the order consistent for the user -- first
|
||||||
@ -1039,7 +1044,8 @@ var BrowserPrototype = {
|
|||||||
var html = e[0]
|
var html = e[0]
|
||||||
var func = e[1]
|
var func = e[1]
|
||||||
|
|
||||||
res.append($('<div>')
|
//res.append($('<div>')
|
||||||
|
btn.append($('<div>')
|
||||||
.addClass('button')
|
.addClass('button')
|
||||||
.html(html)
|
.html(html)
|
||||||
.click(function(evt){
|
.click(function(evt){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user