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:
James Campos 2011-09-24 14:06:40 -07:00
parent f90c12dc83
commit be9c5785be
2 changed files with 4 additions and 4 deletions

View File

@ -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;\
}\

View File

@ -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;
}