Page MenuHomePhabricator

Border-Radius broken on Pivot skin
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue

  • Activate the Pivot skin on MediaWiki / Miraheze
  • Use "border-radius"

What happens?:
The border-radius is only applied to the background and not the border itself, giving the background rounded corners but leaving the border rectangular.

What should have happened instead?:
Both the background and the border itself should get rounded corners.

Other information (browser name/version, screenshots, etc.):

Border Radius issue.png (681×158 px, 12 KB)

Event Timeline

Restricted Application added subscribers: Reception123, Aklapper. · View Herald Transcript

I don't see border-radius as a skin feature, so it sounds like you're trying to add CSS to the skin (CSS customization) and perhaps targeting the wrong element?

I've got border radius working just fine on this skin, but I'm carefully targeting my elements. Can you please provide a link to the place this occurs so someone can help you with the CSS (as this is not really a skin issue, but a CSS issue).

It's impossible to help if we can't inspect the actual code, but it looks like you're using a table for layout and perhaps don't have your styles right to accommodate for that.

If you are using tables for layout, you might find this page helpful as it appears to show your issue (and explains how to fix it, since CSS customization is out of scope of what is provided for skin support). Here's the page:

https://unused-css.com/blog/css-rounded-table-corners/