commit f442ee3f5d21a4382c9df8811d8ddd871911920f Author: Damian Johnson atagar@torproject.org Date: Thu Nov 8 09:42:08 2018 -0800
New sphinx version shrank download page icons
It wasn't visible on the live site, but when I rebuilt the site on my laptop (which now runs Sphinx v1.6.5) the download page icons shrank to roughly 80x80. This is because its haiku css added a new 'max-width: 100%' attribute to images. Overriding that property to keep things looking how it was. --- docs/_static/style.css | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/docs/_static/style.css b/docs/_static/style.css index fe9db200..ae2a04e6 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -15,3 +15,8 @@ span.green { color: green; font-weight: bold; } + +img { + max-width: none !important; +} +
tor-commits@lists.torproject.org