[FIX] website_forum: fixed issues with images in question / answers, now limited

in width + auto height. Improved rule for img-avatar to avoid being overriden
by the default img rule.
This commit is contained in:
Thibault Delavallée 2014-05-15 11:38:00 +02:00
parent 70f29d7748
commit 1fbc5c1cfb
2 changed files with 27 additions and 9 deletions

View File

@ -24,16 +24,25 @@
.question .badge-active {
background-color: #428bca;
}
.question img {
max-width: 600px;
height: auto !important;
}
.forum_answer img {
max-width: 600px;
height: auto !important;
}
img.img-avatar {
max-width: 50px;
margin-right: 10px;
}
.oe_grey {
background-color: #eeeeee;
}
.img-avatar {
max-width: 50px;
margin-right: 10px;
}
.badge-gold {
color: #ffcc00;
}

View File

@ -19,14 +19,23 @@
margin-left: 4px
.badge-active
background-color: #428bca
img
max-width: 600px
height: auto !important
.forum_answer
img
max-width: 600px
height: auto !important
img.img-avatar
max-width: 50px
margin-right: 10px
.oe_grey
background-color: #eeeeee
.img-avatar
max-width: 50px
margin-right: 10px
.badge-gold
color: #ffcc00