prevent vertical scrollbar in chrom thumbnails
imgs w/o src have 0 width / height, floating / absolutely positioned elements don't fill up the parent, so the parent thinks it has 0 width / height, and chrom doesn't reposition when the img does get a src. the file input always has a width / height, so don't float / position it so it fills up the parent.
This commit is contained in:
parent
f90c12dc83
commit
be9c5785be
@ -3169,11 +3169,11 @@
|
||||
http://code.google.com/p/chromium/issues/detail?id=78961\
|
||||
*/\
|
||||
font-size: 100px;\
|
||||
position: absolute;\
|
||||
left: 0;\
|
||||
opacity: 0;\
|
||||
}\
|
||||
#qr #files img {\
|
||||
position: absolute;\
|
||||
left: 0;\
|
||||
max-height: 100px;\
|
||||
max-width: 100px;\
|
||||
}\
|
||||
|
||||
@ -2501,11 +2501,11 @@ Main =
|
||||
http://code.google.com/p/chromium/issues/detail?id=78961
|
||||
*/
|
||||
font-size: 100px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
#qr #files img {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
max-height: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user