You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ext doesn't vertically overflow any longer. However, if the content is less than 100 characters, I still won't give you the option to go to the overlay.
So, Rail's
truncate
helper works fine, except that I'm combining it with thesimple_format
helper, which inserts line breaks into the display of text.The problem with this is that you could enter a simple note, such as
...which is six lines. The problem is, the thought box is only designed to hold five lines maximum, and so the text will overflow the div.
A smarter truncate (which truncates at either a maximum length, or maximum number of lines, whichever comes first) will be necessary to fix this.
The text was updated successfully, but these errors were encountered: