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

show less avatars in mobile to prevent overflow #423

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

adrienpoly
Copy link
Owner

this section would overflow on mobile thus the entire page overflows as seen in #404

@adrienpoly adrienpoly merged commit 75464b8 into main Nov 20, 2024
5 checks passed
@adrienpoly adrienpoly deleted the fix-talk-explore-event-overflow branch November 20, 2024 08:22
Comment on lines +237 to +238
<% speakers_with_avatars.each_with_index do |speaker, index| %>
<div class="<%= class_names("avatar bg-white border-2", "hidden lg:block" => index > 8) %>">
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this technically breaks the +[number] count on mobile, since you don't add the missing four to the count.

Copy link
Owner Author

Choose a reason for hiding this comment

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

true let's make it 8 for everyone then?

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