-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
dev/wp#46 - Fix overlarge select2 elements in WordPress 5.3+ #16967
Conversation
(Standard links)
|
test this please |
I've been doing lots of testing of this @jaapjansma 😃 |
He just meant jenkins, to rebuild the test site here. But there's something going on where all PR tests are failing right now. |
Yes, I guessed that! 😃 |
Ah I misunderstood the joke. Regarding the PR, in drupal 8 (and 7) that particular field looks wrong both before and after because the box is not aligned vertically with the rest of the row, and after there is still a min-height from And it looks like the test issue might be resolved so (jenkins) test this please. |
Hmm. I didn't notice that in my testing, but that sounds like a separate issue. |
In conjunction with #16882, I've tested this in a variety of combinations of OS/CMS/Browser (32 combinations to be precise!):
on Windows / Ubuntu / Android This change doesn't appear to cause any issues for other CMS. There is no notable difference in any of the combinations that I have tested. |
test this please |
@demeritcowboy when @wmortada starts joking again it is because we are doing reviews of pr again and we want to review this pr and we need test environment. |
Haha! Thanks @jaapjansma! |
@eileenmcnaughton or @mattwire could one of you merge this PR? @wmortada thanks for testing yourself in different browsers and cmses! |
test fail unrelated |
Overview
Changes in the visual look of WordPress 5.3 have caused some select2 elements too appear larger than they should.
The issue is that WordPress sets a minimum height on
input
elements. I have fixed this issue by unsetting the minimum height.See issue #46 for more details.
Before
A section of the Advanced Search form in WordPress 5.3. Note the height of the 'Select Tags' field is inconsistent with other elements.
After
The same section after this change.
Technical Details
Screenshots taken in Firefox on Ubuntu 18.04. Other browser/OS combinations may vary.
I have tested this (and #16882) in the following OS/browsers:
And the following CMSs:
Help testing in Safari and Chrome on Mac OS and iOS would be appreciated. Ditto for Joomla.
Comments
See related PR #16882 for an issue with the
select
element in WordPress 5.3.