UI: remove usercard hacks, specify width explictly

This commit is contained in:
Sam 2014-03-10 10:23:31 +11:00
parent 36ae165392
commit 0de759e734
2 changed files with 1 additions and 6 deletions

View File

@ -27,12 +27,6 @@ Discourse.PosterExpansionView = Discourse.View.extend({
position.left += $avatar.width() + 5; position.left += $avatar.width() + 5;
div.css(position); div.css(position);
} }
var maxWidth = div.width();
if (maxWidth < 250) {
maxWidth = 250;
}
div.css({ maxWidth: maxWidth });
} }
}); });

View File

@ -5,6 +5,7 @@
#poster-expansion { #poster-expansion {
position: absolute; position: absolute;
width: 460px;
left: 20px; left: 20px;
z-index: 990; z-index: 990;
box-shadow: 0 2px 6px $primary_border_color; box-shadow: 0 2px 6px $primary_border_color;