1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Attachment name that is too long

Discussion in 'Resolved Bug Reports' started by Moshe1010, Aug 2, 2013.

  1. Moshe1010

    Moshe1010 Well-Known Member

    CyberAP likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That is as designed - it has white-space: no-wrap in the class to prevent wrapping.
     
  3. rellect

    rellect Well-Known Member

    Why there isn't ellipsis when text is too long?
    Cut string in the middle doesn't look good.
     
    CyberAP likes this.
  4. CyberAP

    CyberAP Well-Known Member

    It's a bug because there is no indication that text is overflowing.
    To fix:
    Code:
    .attachment .attachmentInfo .filename a
    {
      display: inline-block;
      max-width: 100%;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }
    scrfsdf.PNG
     
    Vincent and Jay like this.
  5. CyberAP

    CyberAP Well-Known Member

    @Brogan can you please move this thread again to Open Bugs, so Mike can look at it again with my solution provided? Thanks.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I didn't move it to resolved bugs originally, @Mike did.
     
  7. CyberAP

    CyberAP Well-Known Member

    So it stays here?
     
  8. Jay

    Jay Active Member

    Yes but he did alert Mike so he'll see it eventually.
     
  9. Moshe1010

    Moshe1010 Well-Known Member

    I guess no hope for this. It creates big problem in responsive design, since it's impossible to hover over the file name to get it correctly.
     
  10. Jeremy

    Jeremy XenForo Moderator Staff Member

    If you would like to see the functionality modified, please make a suggestion thread.
     
    Amaury likes this.
  11. Moshe1010

    Moshe1010 Well-Known Member

    Suggestion forum is based on likes. If it doesn't have crazy UI or other very complicated "ideas", posts don't get (usually) likes there,. Thus, I don't really have motivation doing it (not to mention that most people would agree the not showing the full name of the file is wrong/bug/whatever).
    I'll fix it locally on my system, we've just hoped it will be fixed for everybody as well.
     
    Last edited: Aug 5, 2013
  12. Deepmartini

    Deepmartini Well-Known Member

    This should be fixed. Looks weird like an error.
     
  13. CyberAP

    CyberAP Well-Known Member

    You mean on mobiles? It was never possible.
     
  14. Jay

    Jay Active Member

    This appears to be fixed, at least on xenforo.com
     
  15. Moshe1010

    Moshe1010 Well-Known Member

    I know, and this is why it was a "problem".
     
  16. sonnb

    sonnb Well-Known Member

    Hidden is good way to keep a controllable layout.
     

Share This Page