Max-width: 75% for image hover. Close #76
This commit is contained in:
parent
39d7e45261
commit
b1256e1754
@ -2899,7 +2899,7 @@
|
||||
},
|
||||
mouseover: function() {
|
||||
ui.el = $.el('img', {
|
||||
id: 'iHover',
|
||||
id: 'ihover',
|
||||
src: this.parentNode.href
|
||||
});
|
||||
return $.add(d.body, ui.el);
|
||||
@ -3272,12 +3272,13 @@
|
||||
width: 100%;\
|
||||
}\
|
||||
\
|
||||
#qp, #iHover {\
|
||||
#qp, #ihover {\
|
||||
position: fixed;\
|
||||
}\
|
||||
\
|
||||
#iHover {\
|
||||
#ihover {\
|
||||
max-height: 100%;\
|
||||
max-width: 75%;\
|
||||
}\
|
||||
\
|
||||
#navlinks {\
|
||||
|
||||
@ -5,6 +5,7 @@ master
|
||||
the report button can open multiple popups again
|
||||
add omploader to the list of optional flavors (http://ompldr.org/upload?url1=)
|
||||
update archive redirections, add /lit/ and /u/
|
||||
fit horizontally for Image Hover
|
||||
|
||||
2.23.7
|
||||
- mayhem
|
||||
|
||||
@ -2255,7 +2255,7 @@ imgHover =
|
||||
$.on thumb, 'mouseout', ui.hoverend
|
||||
mouseover: ->
|
||||
ui.el = $.el 'img'
|
||||
id: 'iHover'
|
||||
id: 'ihover'
|
||||
src: @parentNode.href
|
||||
$.add d.body, ui.el
|
||||
|
||||
@ -2624,12 +2624,13 @@ Main =
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#qp, #iHover {
|
||||
#qp, #ihover {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
#iHover {
|
||||
#ihover {
|
||||
max-height: 100%;
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
#navlinks {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user