-
Notifications
You must be signed in to change notification settings - Fork 73
update: bring back borders around settings screen cards #11160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR restores the visual borders around cards displayed in the settings screens by removing CSS rules that were previously hiding box-shadows and borders. The changes are purely cosmetic and improve the visual hierarchy of the settings interface.
- Removes CSS rules that set
box-shadow: noneon various card components - Simplifies padding rules for card bodies
- Cleans up redundant styling rules
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| client/settings/settings-manager/style.scss | Removes CSS rules that were hiding box-shadows and borders on cards and removing padding from payment method list items |
| client/settings/payment-methods-list/style.scss | Simplifies the .wcpay-card-body padding rule by removing unnecessary :not() selector |
| client/settings/express-checkout/style.scss | Removes redundant padding rules for express checkout items that were already defined elsewhere |
| changelog/update-bring-back-card-borders | Adds changelog entry documenting the visual update |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
|
Size Change: -300 B (0%) Total Size: 877 kB
ℹ️ View Unchanged
|
Fixes WOOPMNT-5522
Changes proposed in this Pull Request
Discussed here: pfHfG4-1JP-p2#comment-2274
Bringing back the "borders" around the cards displayed in the settings screens.
Changes are purely cosmetic.
After:



Testing instructions
npm run changelogto add a changelog file, choosepatchto leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge