Your plugin adds a padding to .wrap
.
See line 13 of donation-button-admin.css:
.wrap {padding: 8px;}
This rule affects the entire admin dashboard. It’s not fatal but anyways I don’t like plugins adding CSS code where it doesn’t belong.
The second problem I mentioned is the HTML code of the widget. These are the main issues with the code:
- Instead of a
section
tag your plugin uses a div
tag as the widget’s wrapper
- Inside the form you use for the PayPal button, the text is wrapped inside an entire table!
- The button itself is wrapped in a second separate table!
These tables are the most unnecessary code I’ve seen in awhile.
What I miss in the widget settings (besides the fact that there are no separate widget settings) is a widget title. That’s pretty much standard. Also, I’d like to edit the widget text in the widget settings page, not in the plugin’s settings. That’s also standard for every other plugin which provides a widget.