UI: remove usercard hacks, specify width explictly
This commit is contained in:
parent
36ae165392
commit
0de759e734
|
@ -27,12 +27,6 @@ Discourse.PosterExpansionView = Discourse.View.extend({
|
|||
position.left += $avatar.width() + 5;
|
||||
div.css(position);
|
||||
}
|
||||
|
||||
var maxWidth = div.width();
|
||||
if (maxWidth < 250) {
|
||||
maxWidth = 250;
|
||||
}
|
||||
div.css({ maxWidth: maxWidth });
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#poster-expansion {
|
||||
position: absolute;
|
||||
width: 460px;
|
||||
left: 20px;
|
||||
z-index: 990;
|
||||
box-shadow: 0 2px 6px $primary_border_color;
|
||||
|
|
Loading…
Reference in New Issue