Skip to content
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

Fix the search field height in the back end #1875

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

leofeyer
Copy link
Member

This is a follow-up PR to #1823. It seems that the browsers do not like the height: 30px for search fields. πŸ€·β€β™‚οΈ

With the fix from this PR

@fritzmg Can you please check if this applies to the Windows browsers as well?

@leofeyer leofeyer added the bug label Jun 25, 2020
@leofeyer leofeyer added this to the 4.9 milestone Jun 25, 2020
@leofeyer leofeyer requested a review from fritzmg June 25, 2020 14:47
@leofeyer leofeyer self-assigned this Jun 25, 2020
Comment on lines +306 to +309
input[type="search"] {
padding-top:1px;
padding-bottom:1px;
}
Copy link
Member Author

@leofeyer leofeyer Jun 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case you are wondering why this needs to be adjusted for Firefox:

Firefox offsets the text inside the input and select fields, so I had to make it wrong on purpose to match the rest! 🀯

@leofeyer leofeyer merged commit 4cce468 into contao:4.9 Jun 25, 2020
@leofeyer leofeyer deleted the fix/search-field branch June 25, 2020 15:11
leofeyer pushed a commit that referenced this pull request Jun 29, 2020
Description
-----------

This is a follow up to #1823, #1875 and #1877

Some previous changes have been reverted, some new changes have been added.

* Text inputs and selects and submit buttons now have the same height (and they are aligned correctly).
* Layout does not break for certain `w50` widget combinations in any browser, zoom level and dppx combination that I have tested (tested with newest Firefox, Chrome and Edge).

@leofeyer can you test these changes in Safari too please? Hopefully this is now fixed for good and we don't have to touch it again, until we re-do the whole thing with CSS grids 😁 

If everything checks out, I'll update the PR for Contao 4.4 accordingly.

Commits
-------

34cd111 revert some changes from #1823
8f2f282 change the back end layout yet again
7e492ab add minified basic.css
6dd338c some further adjustments for firefox
leofeyer pushed a commit to contao/core-bundle that referenced this pull request Jun 29, 2020
Description
-----------

This is a follow up to contao/contao#1823, contao/contao#1875 and contao/contao#1877

Some previous changes have been reverted, some new changes have been added.

* Text inputs and selects and submit buttons now have the same height (and they are aligned correctly).
* Layout does not break for certain `w50` widget combinations in any browser, zoom level and dppx combination that I have tested (tested with newest Firefox, Chrome and Edge).

@leofeyer can you test these changes in Safari too please? Hopefully this is now fixed for good and we don't have to touch it again, until we re-do the whole thing with CSS grids 😁 

If everything checks out, I'll update the PR for Contao 4.4 accordingly.

Commits
-------

34cd1115 revert some changes from #1823
8f2f282a change the back end layout yet again
7e492abf add minified basic.css
6dd338c4 some further adjustments for firefox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants