Revert "Prevent quote preview from going offscreen in cases of limited screen width."

Caused some quote previews to use more width than needed.
This reverts commit 4122bce3084f8fc25b5f0dc2e42f999f7d9430a5.
This commit is contained in:
ccd0 2019-03-23 13:04:41 -07:00
parent e77fa69c53
commit 996a183abe
2 changed files with 1 additions and 4 deletions

View File

@ -356,7 +356,7 @@ hover = (e) ->
threshold = @clientWidth / 2
threshold = Math.max threshold, @clientWidth - 400 unless @isImage
marginX = (if clientX <= threshold then clientX else @clientWidth - clientX) + 45
marginX = Math.min(marginX, @clientWidth - width)
marginX = Math.min(marginX, @clientWidth - width) if @isImage
marginX += 'px'
[left, right] = if clientX <= threshold then [marginX, ''] else ['', marginX]

View File

@ -1286,9 +1286,6 @@ span.hide-announcement {
margin: 0 !important;
padding: 1px 2px !important;
}
#qp {
pointer-events: none;
}
#qp > .opContainer::after {
content: '';
clear: both;