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;