Ruby on Rails Saturday, September 23, 2017

> On Sep 23, 2017, at 9:52 AM, Ben Edwards <login@funkytwig.com> wrote:
>
> I want to use this to put truncate stuff and put ... If a text string in too long.


There is a CSS property for overflow, which will take the letterforms and specific characters into account. See more here: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow

Walter

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/850E964B-2CF8-4C6B-BA01-DB8A4970EC94%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment