-
Notifications
You must be signed in to change notification settings - Fork 40
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
Remove underline from Delete button in Basis #4206
Comments
Great catch! :) I don't think this change needs designer feedback, so removing the |
@stpaultim You need to turn off the admin theme for node forms to see this. E.g. uncheck 'Use the administration theme when editing or creating content' on the Appearance page. |
I'm looking at this issue with the Open Source Day group. |
Our proposed solution to this is the following CSS rule in Basis styles.css
We also considered a#edit-delete { This seems specific enough that it should not break anything unexpected. |
This PR resolves the issue. Tested successfully |
I added the "works for me" label yesterday thanks to the testing done by @himanshu007-creator (thank you). The code also looks straightforward, RTBC! |
This is a style inconsistency/bug. It can go in on a bug release. |
Thinking out loud a bit here, but instead of pinpointing |
yes, probably. Sometimes we have cancel buttons that need to appear as though they are links -- but in those cases the cancel button is the one that should be targeted specifically. |
@jenlampton - I don't usually assign people to issues, but THIS TIME it seemed appropriate! ;-) |
Looks great! :) Thanks @stpaultim |
Thank you for filing this @BWPanda, and for the PR, testing, and review @stpaultim, @himanshu007-creator, and @jenlampton! I've merged backdrop/backdrop#3667 into 1.x and 1.19.x. |
@laryn - Thank you for spotting a better solution with broader implications. |
Description of the need
In the Basis theme, the Delete 'button' (on node edit forms) is actually a link styled to look like a button. As such, it has an underline which looks wrong considering the actual buttons it's styled after don't...
Steps to recreate
Proposed solution
Remove the underline on the any links styled to look like buttons (
a.button
).The text was updated successfully, but these errors were encountered: