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

chore: truncate checkbox labels and increase column number to 3 #941

Merged
merged 2 commits into from
Sep 23, 2023

Conversation

rudokemper
Copy link
Member

Currently, Stories/Places/Speakers checklists in the CMS edit form are showing the full title, which can be unwieldy with long titles:

image

This PR truncates checkbox labels, and increases the total number of columns to 3 in the CMS edit forms. We can definitely do more to improve the form styling, but this is a quick fix for some online communities who are dealing with this.

Result:

image

Copy link
Contributor

@albertchae albertchae left a comment

Choose a reason for hiding this comment

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

Seems fine in principle. Does hovering over truncated labels show the full text?

@rudokemper
Copy link
Member Author

Thanks @albertchae that's a great suggestion. I found that I had to modify the generation of checkboxes somewhat to be able to add a title attribute.

image

@rudokemper rudokemper merged commit 2a6d5da into master Sep 23, 2023
@rudokemper rudokemper deleted the rk/adjust-cms-form-checkbox-width branch September 23, 2023 02:15
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.

2 participants