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

Weight labels not wrapping #177

Closed
jeffreyhanson opened this issue Oct 8, 2021 · 3 comments
Closed

Weight labels not wrapping #177

jeffreyhanson opened this issue Oct 8, 2021 · 3 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers high priority

Comments

@jeffreyhanson
Copy link
Contributor

The text for the weights in the solution results sidebar doesn't always wrap correctly. Thank you very much @jgvincent for reporting this - could you please let me know what browser and OS you were using when you found this bug?

image

@jeffreyhanson jeffreyhanson added the bug Something isn't working label Oct 8, 2021
@jeffreyhanson
Copy link
Contributor Author

Bug encountered on MS Windows 10 using Google Chrome.

@jeffreyhanson
Copy link
Contributor Author

Here's the steps to reproduce locally:

  1. Open the YAML file for the Ontario pilot dataset, and change one of the theme names to having a really long name (e.g. change line 10 from "- name: Alvarto- name: Alvaraaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa`).
  2. Run the app locally (using command make debug).
  3. Generate a solution
  4. Open the themes pane in the results sidebar.
  5. You should see something like this:

image

@jeffreyhanson jeffreyhanson added the good first issue Good for newcomers label Feb 14, 2022
@jeffreyhanson
Copy link
Contributor Author

jeffreyhanson commented Feb 14, 2022

To address this, I think the CSS settings for these widgets will need to be updated to enable word wrapping. The relevant CSS file is inst/htmlwidgets/lib/solutionResults-1.0.0/styles.css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers high priority
Projects
None yet
Development

No branches or pull requests

2 participants