From 0aeab06b7bc058b926dcb442110d0eb990c4878e Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 21 Sep 2011 19:13:38 -0700 Subject: [PATCH] vaguely works on chrom --- 4chan_x.user.js | 6 +++++- script.coffee | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index b79b7a565..867191fc5 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3134,7 +3134,10 @@ }\ #qr #files li {\ position: relative;\ - display: inline;\ + display: inline-block;\ + width: 100px;\ + height: 100px;\ + overflow: hidden;\ }\ #qr #files a {\ position: absolute;\ @@ -3161,6 +3164,7 @@ #qr #files img {\ max-height: 100px;\ max-width: 100px;\ + float: left;\ }\ #qr input[name=resto] {\ width: 80px;\ diff --git a/script.coffee b/script.coffee index 03a55ed7e..4a7605ff8 100644 --- a/script.coffee +++ b/script.coffee @@ -2465,7 +2465,10 @@ Main = } #qr #files li { position: relative; - display: inline; + display: inline-block; + width: 100px; + height: 100px; + overflow: hidden; } #qr #files a { position: absolute; @@ -2492,6 +2495,7 @@ Main = #qr #files img { max-height: 100px; max-width: 100px; + float: left; } #qr input[name=resto] { width: 80px;