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

10204: ngx-select Caret and Clear Size and Alignment Fix #913

Merged
merged 4 commits into from
Aug 18, 2022

Conversation

bmangaman
Copy link
Contributor

@bmangaman bmangaman commented Aug 11, 2022

Summary

Fixed the issue of inconsistent sizing and vertical alignment of the clear (x) and caret (v) by wrapping both the input and the input controls in a flex box and using flex properties instead of absolute alignment.

Fixes ngx-select caret scales inconsistently #583

Screen Shot 2022-08-11 at 11 31 57 AM

Screen Shot 2022-08-11 at 11 32 08 AM

Screen Shot 2022-08-11 at 11 32 25 AM

Screen Shot 2022-08-11 at 11 32 34 AM

Screen Shot 2022-08-11 at 11 57 32 AM

Checklist

  • *Added unit tests
  • *Added a code reviewer
  • Added changes to /projects/swimlane/ngx-ui/CHANGELOG.md under HEAD (Unreleased)
  • Updated the demo page
  • Included screenshots of visual changes

*required

Created a (flex) wrapper around the select input and the control buttons (clear, open) to have more control over the vertical alignment of all the inner content.
@bmangaman bmangaman requested a review from a team August 11, 2022 17:58
@netlify
Copy link

netlify bot commented Aug 11, 2022

Deploy Preview for ngx-ui ready!

Name Link
🔨 Latest commit e6973cb
🔍 Latest deploy log https://app.netlify.com/sites/ngx-ui/deploys/62f555978dbcb40009e8b77c
😎 Deploy Preview https://deploy-preview-913--ngx-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bmangaman bmangaman changed the title SPT-10204: ngx-select Caret and Clear Fix SPT-10204: ngx-select Caret and Clear Size and Alignment Fix Aug 11, 2022
@bmangaman bmangaman marked this pull request as ready for review August 11, 2022 20:16
@bmangaman bmangaman changed the title SPT-10204: ngx-select Caret and Clear Size and Alignment Fix 10204: ngx-select Caret and Clear Size and Alignment Fix Aug 12, 2022
@bmangaman bmangaman removed the request for review from a team August 12, 2022 18:32
Copy link

@MatthewEppelsheimer MatthewEppelsheimer left a comment

Choose a reason for hiding this comment

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

LGTM

@bmangaman bmangaman merged commit fc82efc into master Aug 18, 2022
@bmangaman bmangaman deleted the tsunami/SPT-10204-ngx-select-caret-fix branch August 18, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants