fitting images in posts without violating max width/height

This commit is contained in:
Kris Aubuchon 2014-07-16 01:01:03 -04:00
parent 823061a2cf
commit 89167be99a
2 changed files with 8 additions and 3 deletions

View File

@ -11,6 +11,10 @@
.lightbox-wrapper {
display: inline-block;
a img {
width: 100%;
height: 100%;
}
}
.meta {

View File

@ -251,7 +251,10 @@ nav.post-controls {
.embedded-posts {
h1, h2, h3 {margin: 10px 0;}
a.mention {background: darken(scale-color-diff(), 10%);}
p img {
width: 100%;
height: 100%;
}
.topic-body {
width: 84%;
padding-left: 1%;
@ -264,8 +267,6 @@ nav.post-controls {
}
// bottom means "reply expansion" below a post
&.bottom {
&.hidden {display: block; opacity: 0; }