From e3b5645726a71847555fe8465acf18dca2681a47 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 14 May 2012 18:16:53 +0200 Subject: [PATCH] Fix #443. --- 4chan_x.user.js | 4 ++++ script.coffee | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 1d52f642d..af226822a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4442,6 +4442,10 @@ textarea.field {\ .fitwidth img[data-md5] + img {\ max-width: 100%;\ }\ +.gecko .fitwidth img[data-md5] + img,\ +.presto .fitwidth img[data-md5] + img {\ + width: 100%;\ +}\ \ /* revealed spoilers do not have height/width,\ this fixes "expanded" auto-gifs */\ diff --git a/script.coffee b/script.coffee index f75ff17d7..f69b1da82 100644 --- a/script.coffee +++ b/script.coffee @@ -3451,6 +3451,10 @@ textarea.field { .fitwidth img[data-md5] + img { max-width: 100%; } +.gecko .fitwidth img[data-md5] + img, +.presto .fitwidth img[data-md5] + img { + width: 100%; +} /* revealed spoilers do not have height/width, this fixes "expanded" auto-gifs */