As designed .mediaContainer defined twice

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?
 
Actually, it seems like that could be intentional as those two don't seem to show up at the same time on a page.
 
Correct.

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