From cffa27139455f84fb26c3a0144369116705f1b0b Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Sat, 9 Jun 2018 14:02:53 -0400 Subject: [PATCH] Fix image style bug introduced in last commit --- brutaldon/static/css/brutaldon.css | 12 ++++++------ brutaldon/templates/main/search_results.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/brutaldon/static/css/brutaldon.css b/brutaldon/static/css/brutaldon.css index 0e9ae9b..3efeae2 100644 --- a/brutaldon/static/css/brutaldon.css +++ b/brutaldon/static/css/brutaldon.css @@ -48,18 +48,18 @@ figure.media-left p.image a img background-color: #FFF8DC; } -article.media .content img -{ - max-height: 1.5rem; - max-width: 1.5rem; -} - h2.subtitle { margin-top: 2rem; margin-bottom: 1rem; } +article.media.user-info .content img +{ + max-height: 1.5rem; + max-width: 1.5rem; +} + @media screen and (max-width: 768px) { .media { display: block; diff --git a/brutaldon/templates/main/search_results.html b/brutaldon/templates/main/search_results.html index 1a49225..a249a5e 100644 --- a/brutaldon/templates/main/search_results.html +++ b/brutaldon/templates/main/search_results.html @@ -24,7 +24,7 @@ mastodon.search("")

Users

{% for user in results.accounts %} -