Resources Style Bug

PASS

Well-known member
After I made some color changes to the default XF style, I noticed the "Article" area doesn't have any padding.

Untitled-1.webp

Adding the CSS in red, fixes the left, right, and bottom padding but the default css for the top padding is being overridden by some other css.

.resourceUpdate
{
border-bottom: none;
border-top: 1px solid rgb(178, 178, 178);
padding: 40px 6px 6px 6px;
overflow: hidden; zoom: 1;
}

Untitled-2.webp

Any idea how to fix?
 
You could just edit .resourceUpdate:first-child to have the value you want. Or add your own CSS to EXTRA.css, e.g.

Code:
.resourceUpdate:first-child
{
    padding-top: 6px!important;
}
 
Back
Top Bottom