Implemented Remove box-sizing for avatars?

Discussion in 'Resolved Suggestions' started by AlexT, Feb 12, 2017.

  1. AlexT

    AlexT Member

    Hi there. :)

    Any reason for using the border-box box-sizing when displaying avatars? It basically causes all avatars to be resized by the browser given the current layout. For example, medium avatars of 96x96 will be displayed at 90x90. This may or not may have a small negative effect on rendering speed; what's more, I fail to see why the box-sizing property is even there. :unsure:

    Copy Source
    .messageUserBlock .avatar img
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    zastavra likes this.
  2. Steve

    Steve Designer

    We'll check it out, though I can't recall doing anything recently where this has changed. It could be related to a particular message layout and some old code. I do know the message layout(s) property settings are on our revamp list though! :)
  3. Russ

    Russ Designer

    Sorry I never followed up on this... just a heads up we're only using border-box now on size L for avatars. This is to avoid the post bit breaking and aligning up correctly.

Let's work together on your next project

Contact us today to talk about how we can help you

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.