-
-
Notifications
You must be signed in to change notification settings - Fork 39
in-text citations don't wrap? #398
Comments
Thanks for the report. Do you have a link to the affected page that I could check out? |
Yes indeed. The page in the screenshot is here and that thank you test page has it without an image: Sorry to keep loading you up with issues! |
Ah, now I remember why I explicitly made citations non-wrapping. It becomes much more difficult to calculate where the tooltip should be placed if the citation spans more than one line because both the natural width and height of the citation are variably skewed, depending on how much the text wraps. Obviously, this is a problem with long in-text citations. I hadn't considered that. I'll work on improving the tooltip rendering so that text will be able to wrap naturally.
Please, keep them coming! I appreciate the feedback. |
Ahh, I see. Well I could always switch to number citations, which would never need to wrap. They are not so common in my field, but certainly less cluttered, and with the tooltips, you don't really need the full citations. |
Found a much simpler fix than I originally anticipated. This should be resolved on the next update. If not, let me know. |
ABT Version: 4.12.0
PHP Version: 5.6
**Theme:**GeneratePress
Plugin List:
Browser: Firefox 57
Expected behavior: Citations in the text wrap.
Actual behavior: If a series of in-text citations is wider than the window, the rest is simply cut off at the window edge. If an image narrows the space available, the citation and following text jump down below the image (see attachment).
Console messages:
The text was updated successfully, but these errors were encountered: