In T366515, we switched to using a codex mixin for link styles, which includes a border-radius (presumably for the focus outline state). This applies a border radius to an a element, in the content or the UI.
The unwanted side-effect is that some square buttons (such as those in toolbars) now have radii:
| Observed | Expected |
Acceptance Criteria
- Link buttons in OOUI toolbars do not have a border radius applied on pages where the Codex link mixin is being used
Requirement
Ensure that link buttons in OOUI toolbars do not have a border radius applied when the Codex link mixin is used. The border radius should only be applied when necessary and should not affect square buttons.
BDD
Feature: Correct application of border radius to link buttons in OOUI toolbars
Scenario: Prevent border radius on link buttons in toolbars
Given a page using Codex link mixin
When a link button is displayed in an OOUI toolbar
Then the button should not have a border radius applied.Test Steps
Test Case 1: Verify link buttons in toolbars do not have a border radius
- Go to a page using the Codex link mixin.
- Check link buttons in an OOUI toolbar.
- AC1: Confirm that link buttons in toolbars do not have a border radius applied.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T373989#10256872 |
QA Results - PROD
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T373989#10289717 |





