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

As Designed .mediaContainer defined twice

Discussion in 'Media Gallery Resolved Bugs' started by Moddis, Mar 29, 2015.

  1. Moddis

    Moddis Active Member

    I was making an update to .mediaContainer and noticed that it was defined twice in two different templates:

    In xengallery_media_view.css
    Code:
    .mediaContainer
    {
        zoom: 1;
        overflow: visible;
        position: relative;
    }
    In xengallery_media_thumb_item.css
    Code:
    .mediaContainer
    {
        margin: 5px 0;
        position: relative;
        border: 1px solid @primaryLighter;
        border-radius: 4px;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    }
    Can those two just be merged into one of the templates?
     
  2. Moddis

    Moddis Active Member

    Actually, it seems like that could be intentional as those two don't seem to show up at the same time on a page.
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    Correct.

    Actually, it's not ideal them both using the same class name, but seems like something that isn't worth changing.
     

Share This Page