Fix UI issues with event import and display#80
Merged
travisdock merged 1 commit intomainfrom Feb 2, 2026
Merged
Conversation
Owner
travisdock
commented
Feb 2, 2026
- Fix import preview modal not visible on long pages by using min-h-screen instead of min-h-full for proper viewport centering
- Fix long URLs overflowing in event show page by adding break-words to location and description fields
- Allow vertical resizing of description textarea in event form
- Fix import preview modal not visible on long pages by using min-h-screen
instead of min-h-full for proper viewport centering
- Fix long URLs overflowing in event show page by adding break-words to
location and description fields
- Allow vertical resizing of description textarea in event form
Contributor
There was a problem hiding this comment.
Pull request overview
Improves Events UI behavior for long content and long pages by adjusting Tailwind utility classes to prevent overflow and ensure modals are properly centered in the viewport.
Changes:
- Prevent long location/description strings (e.g., URLs) from overflowing on the event show page by enabling word breaking.
- Ensure the import preview modal centers correctly on long pages by using viewport-based minimum height.
- Allow vertical resizing of the event description textarea in the event form.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| app/views/events/show.html.erb | Adds break-words to location/description display to prevent overflow from long strings. |
| app/views/events/_import_form.html.erb | Switches modal container from min-h-full to min-h-screen for reliable viewport centering. |
| app/views/events/_form.html.erb | Changes textarea from resize-none to resize-y to allow vertical resizing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.