From af6131a58e222c95bba2f816bea691cf13b44c6d Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 14 Mar 2012 21:01:14 +0100 Subject: [PATCH] Fix thumbnails dimensions with thread hiding enabled. --- 4chan_x.user.js | 8 ++++---- script.coffee | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 1ec5a176c..26945ce05 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4303,13 +4303,13 @@ img[md5], img[md5] + img {\ /* revealed spoilers do not have height/width,\ this fixes "expanded" auto-gifs */\ img[md5] {\ - max-height: 126px;\ - max-width: 126px;\ -}\ -.filesize:first-child ~ a > img[md5] {\ max-height: 251px;\ max-width: 251px;\ }\ +input ~ a > img[md5] {\ + max-height: 126px;\ + max-width: 126px;\ +}\ \ #qr, #qp, #updater, #stats, #ihover, #overlay, #navlinks {\ position: fixed;\ diff --git a/script.coffee b/script.coffee index 1e03ed50d..a7f42c3c1 100644 --- a/script.coffee +++ b/script.coffee @@ -3638,13 +3638,13 @@ img[md5], img[md5] + img { /* revealed spoilers do not have height/width, this fixes "expanded" auto-gifs */ img[md5] { - max-height: 126px; - max-width: 126px; -} -.filesize:first-child ~ a > img[md5] { max-height: 251px; max-width: 251px; } +input ~ a > img[md5] { + max-height: 126px; + max-width: 126px; +} #qr, #qp, #updater, #stats, #ihover, #overlay, #navlinks { position: fixed;