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

(enhancement) Lengthy dropdown option text should be wrapped in multiple lines #106

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

vasharma05
Copy link
Member

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

Lengthy dropdown option text should be wrapped in multiple lines

Screenshots

image
image

Related Issue

Other

Copy link
Member

@jayasanka-sack jayasanka-sack left a comment

Choose a reason for hiding this comment

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

Thanks, @vasharma05 !

@jayasanka-sack jayasanka-sack merged commit bb30bbb into main Dec 1, 2023
3 checks passed
@vasharma05 vasharma05 deleted the fix/lengthy-select-options branch December 1, 2023 11:43
@@ -296,7 +296,7 @@
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
line-height: 3em;
min-height: 3em;
white-space: nowrap;
white-space: wrap !important;
Copy link
Member

Choose a reason for hiding this comment

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

Do we need the !important here? I never like that in CSS unless it's absolutely required (basically because someone already has a rule that says !important; otherwise the selector just needs to be re-targetted).

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