mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-22 04:45:46 -04:00
we can't resize images on desktop, very dangerous
This commit is contained in:
parent
7dcf2a2c4f
commit
612dcb5805
2 changed files with 3 additions and 4 deletions
app/assets/stylesheets
|
@ -11,10 +11,6 @@
|
|||
|
||||
.lightbox-wrapper {
|
||||
display: inline-block;
|
||||
a img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.meta {
|
||||
|
|
|
@ -251,6 +251,9 @@ nav.post-controls {
|
|||
.embedded-posts {
|
||||
h1, h2, h3 {margin: 10px 0;}
|
||||
a.mention {background: darken(scale-color-diff(), 10%);}
|
||||
/* this 100% stuff is normally VERY dangerous because we're overriding
|
||||
painstakingly calculated exact image widths, but in expanded replies, we may
|
||||
be below minimum width, and expanded replies are loaded on demand anyway */
|
||||
p img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
Loading…
Reference in a new issue