• 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

Moddis

Active member
#1
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?
 

Chris D

XenForo developer
Staff member
#3
Correct.

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