generated from freeCodeCamp/template
-
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When Classrooms are created with long, single-word names or descriptions, it can cause text to extend off the card.
Additionally, when names or descriptions are too long, it extends the height of the card. There is currently no limit to the card's height.
To Reproduce
- Make sure you can successfully log in via Github (use the Github sign-in option, not Auth0)
- Run "npx prisma studio" in the terminal, navigate to the "Users" table, change the role of your user to "TEACHER"
- Make sure you click "Save changes" in prisma studio
- Sign out of the Classroom app and then sign back in
- Navigate to the /classes page
- Create a class with an unusually long name or description, or edit an existing class to have this
Expected behavior
The name and description need to fit within the card wrapper and not extend off the card. Additionally, we're thinking of adding character limits to the name and description.
Screenshots

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working