-
Notifications
You must be signed in to change notification settings - Fork 156
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
Update two factor options layout #623
Conversation
Align two factor options with title
Does the asset screenshot need an update as well now? https://github.com/WordPress/two-factor/blob/master/assets/screenshot-1.png |
It does, but the next release of the plugin will likely need to change other aspects of that page, so I'm not sure it's a priority for this PR. Perhaps create a new issue to track that? |
…in tables used on profiles and elsewhere.
I've pushed some commits that makes the styles closer to core, by inheriting the core css via the expected classes, and adding the This has had some downsides though; as it's caused some UI issues at varying display sizes.
@thrijith Apologies, this isn't all totally what you were expecting from this PR, but it seemed like to merge this, it would be better to cover all aspects of making it closer to the core UI.
|
Hi @dd32, is there anything required from my end on this PR? |
@dd32 any further work needed on this PR or is this good to merge? |
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.
This looks good -- safe to merge and can be included in the next point release.
I wonder if any third-party integrations relying on this table are somehow impacted by this. I think WP VIP was adding an SMS option in there, right?
Apologies, I didn't get back to this ticket. Personally I'd prefer to resolve the mobile usability of it as above, but perhaps that can be pushed off to a new issue / PR, as it's arguably not worse than before. That might be better resolved via #342 This shouldn't cause any impacts for addon plugins, since there's no major underlying changes, but any that are expecting that specific HTML structure may break if they are using highly scoped CSS/JS selectors that don't account for the removal of the nested table.. which would be a poor choice IMHO. Also noting, this will partially fix #536 |
What?
This PR updates the layout of Two Factor options to match Application Passwords, fixes #622
Why?
To make sure the UI consistent, as mentioned in #622, the request in it is to use div tags but we can't do it as
fieldset
tag is required to make all inputs disabled on a condition, which won't work withdiv
without the some additional CSS.How?
Two-Factor Options
out of the table and adds a heading for it, adds some style to align the two factor options table with heading.Testing Instructions
Screenshots or screencast
Changelog Entry