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

XF 1.5 Location Field on Member Card Not Wrapping on Chrome

Discussion in 'Styling and Customization Questions' started by Amaury, May 15, 2016.

  1. Amaury

    Amaury Well-Known Member

    I can already confirm this has to do with the custom member card format that we have, but it seems to only be an issue on Chrome, so perhaps it's more a browser issue than our custom styling there.

    Location.PNG

    http://www.kh-flare.net/members/

    Any advice on how to fix it if it's possible?
     
  2. Amaury

    Amaury Well-Known Member

    Any advice?

    Thanks in advance.
     
  3. Amaury

    Amaury Well-Known Member

    Is anyone able to offer any help?

    If there's some piece of information I failed to provide, please do let me know. :)
     
  4. Amaury

    Amaury Well-Known Member

    Still looking for some feedback here. Is anyone able to offer any solutions? :)
     
  5. Sunka

    Sunka Well-Known Member

    It is custom style for member card (two columns), not default from xenfero
     
  6. Amaury

    Amaury Well-Known Member

    I already mentioned that in the OP, but I also mentioned that the issue is only in Chrome.
     
  7. Sunka

    Sunka Well-Known Member

    If you use last chrome version, maybe is related with this ;)
     
  8. Amaury

    Amaury Well-Known Member

    I know that. The issue is definitely with something on Chrome.

    I'm asking if there's a CSS fix or something I could use.
     
  9. Gemma

    Gemma Well-Known Member

    Try changing
    Code:
    .xenOverlay.memberCard dl.userStats dd:after {
        content: "\a";
        white-space: pre;
    }
    
    to
    Code:
    .xenOverlay.memberCard dl.userStats dd:after {
        content: "\a";
        white-space: pre-line;
    }
    
     
    The Sandman, eva2000 and Amaury like this.
  10. Amaury

    Amaury Well-Known Member

    Perfect, @Gemma! That worked!

    Strange that it was only on Chrome, but meh.
     
    Gemma likes this.

Share This Page