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: prevent inline-block issue in name form due to space and font-size #16048

Merged
merged 1 commit into from Jun 13, 2018
Merged

Conversation

DanielRuf
Copy link
Contributor

Description

Fixed Issues (if relevant)

  1. inline-block issue in name form #16047

Manual testing scenarios

  1. open a page where the name form is eg /customer/account/edit/
  2. compare the space between asterisk / required field indicator to other fields with the required field indicator

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@VladimirZaets
Copy link
Contributor

Hi, @DanielRuf, I took your PR into processing, thank you for collaboration.

@magento-engcom-team
Copy link
Contributor

Hi @DanielRuf. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.2.6 release.

Please, consider to port this solution to 2.3 release line.
You may use Porting tool to port commits automatically.

@hitesh-wagento
Copy link
Contributor

Hi @DanielRuf

Could you please advice me why are you change Magento2 coding standard ?

Thanks

@DanielRuf
Copy link
Contributor Author

Hi @DanielRuf

Could you please advice me why are you change Magento2 coding standard ?

Thanks

Sorry but I do not understand what you mean.

@DanielRuf
Copy link
Contributor Author

DanielRuf commented Jun 14, 2018

Could you please advice me why are you change Magento2 coding standard ?

This is not a coding standard. Check the other fields. inline-block adds an empty space when you have a space in the HTML, which can be removed with hacks like font-size:0 or by removing spaces between the tags. The second approach is used in the other parts of the form and so this is consistent with the rest.

I did not change any coding standard.

@DanielRuf
Copy link
Contributor Author

@DanielRuf DanielRuf deleted the fix/prevent-inline-block-issue-in-name-form branch June 14, 2018 07:36
@hitesh-wagento
Copy link
Contributor

hitesh-wagento commented Jun 14, 2018

Hi @DanielRuf

Thanks for clarification :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants