Fix locked threads icons with fit screen/width.
This commit is contained in:
parent
b7117afaeb
commit
e21df3bb60
@ -2906,7 +2906,7 @@
|
||||
return $.prepend(form, controls);
|
||||
},
|
||||
resize: function() {
|
||||
return imgExpand.style.innerHTML = ".fitheight img + img {max-height:" + d.body.clientHeight + "px;}";
|
||||
return imgExpand.style.innerHTML = ".fitheight [md5] + img {max-height:" + d.body.clientHeight + "px;}";
|
||||
}
|
||||
};
|
||||
|
||||
@ -3098,10 +3098,10 @@
|
||||
float: left;\
|
||||
pointer-events: none;\
|
||||
}\
|
||||
img[md5], img + img {\
|
||||
[md5], [md5] + img {\
|
||||
pointer-events: all;\
|
||||
}\
|
||||
.fitwidth img + img {\
|
||||
.fitwidth [md5] + img {\
|
||||
max-width: 100%;\
|
||||
width: -moz-calc(100%); /* hack so only firefox sees this */\
|
||||
}\
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
master
|
||||
- mayhem
|
||||
fix locked thread icons with fit width/screen enabled on Firefox
|
||||
|
||||
2.21.2
|
||||
- mayhem
|
||||
|
||||
@ -2229,7 +2229,7 @@ imgExpand =
|
||||
$.prepend form, controls
|
||||
|
||||
resize: ->
|
||||
imgExpand.style.innerHTML = ".fitheight img + img {max-height:#{d.body.clientHeight}px;}"
|
||||
imgExpand.style.innerHTML = ".fitheight [md5] + img {max-height:#{d.body.clientHeight}px;}"
|
||||
|
||||
Main =
|
||||
init: ->
|
||||
@ -2463,10 +2463,10 @@ Main =
|
||||
float: left;
|
||||
pointer-events: none;
|
||||
}
|
||||
img[md5], img + img {
|
||||
[md5], [md5] + img {
|
||||
pointer-events: all;
|
||||
}
|
||||
.fitwidth img + img {
|
||||
.fitwidth [md5] + img {
|
||||
max-width: 100%;
|
||||
width: -moz-calc(100%); /* hack so only firefox sees this */
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user