aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-05-11 21:11:11 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-05-11 21:11:11 +0200
commitf43c55f89aab57720892817b048ffdb15773ce2c (patch)
tree29fcc2de6a4f618e42eeba69c89decad44e36ac5 /app/assets
parentbdfb10eddf79184dbb5a198b07816faf563f0eef (diff)
downloadhmnoweb-f43c55f89aab57720892817b048ffdb15773ce2c.tar.gz
hmnoweb-f43c55f89aab57720892817b048ffdb15773ce2c.tar.bz2
hmnoweb-f43c55f89aab57720892817b048ffdb15773ce2c.zip
Make sure images don't overflow sidebars.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/hmno_sidebars.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/stylesheets/hmno_sidebars.scss b/app/assets/stylesheets/hmno_sidebars.scss
index dbc68ab..8a47f9f 100644
--- a/app/assets/stylesheets/hmno_sidebars.scss
+++ b/app/assets/stylesheets/hmno_sidebars.scss
@@ -33,6 +33,10 @@
h2 {
@include sidebar-headers;
}
+ img {
+ max-width: 95%;
+ height: auto;
+ }
#tags, #categories, #rss_feed_subscribe {
margin-left: 5px;
}