Greetings folks. We have started moving our forum from the proprietary Xenforo to the open-source Discourse, and in the process of replicating visuals of our old forum I ran across a Chrome-specific CSS issue.
I don’t know if anybody else ran across this, I couldn’t find any other forum topics about it here.
I tried implementing gradient on anything that is a table, in this case category list and topic list.
On Firefox it looks like it should:
Screenshot
but Chromium based browsers seem to render an extra border:
Screenshot
And this is the CSS in question (using category list inside a category as an example):
Code
#header-list-area .category-list > thead > tr {
border-color: #a3a3a3;
background-image: linear-gradient(to right, #a3a3a3, #424242);
}
.category-list > thead > tr {
border-width: 0px;
border-left-width: 6px;
border-style: solid;
}
If I use background-color
, both browsers render the <th>
identically, that is without the extra layered border.
I could not reproduce this issue with vanilla HTML+CSS, codepen or any other similar tools. If you know your way around Discourse’s DOM and CSS selectors/rulesets, your help would be gladly appreciated.