Skip to content

[ Feat : Truncating the title's and summary's when the Cards are side by side ] #1151

@rohitPandey469

Description

@rohitPandey469

Is your feature request related to a problem? Please describe.
The current display of Tutorial Cards (i.e., cards containing the 'title' and 'description' of a tutorial) is visible in the following locations:

  1. Homepage => "/"
  2. Tutorials page => "/tutorials"
  3. Potentially on the Profile Page in later stages of development => "/profile"

However, there are UI challenges associated with the display of Tutorial Cards:

  • On the "/tutorials" page, where most cards are shown, longer titles or summaries can disrupt the UI layout. To address this, we propose truncating the title and summary to a fixed max width and max height (e.g., 250x290, similar to platforms like Udemy).
  • On the Homepage or Profile Page, where cards with and without pictures are used, varying heights which is already present is enhancing the visual appeal, as the cards are not side by side. So if want fixed height then can add a show more or expand btn.

Describe the solution you'd like

  1. For the "/tutorials" page, truncate the title and summary, fixing the max width and max height (e.g., 250x290).
  2. If fixing the height on Home Pages, consider adding a "Show More" or "Expand" button to handle longer content.

Describe alternatives you've considered
Truncating the summary on the Homepage as well and incorporating a "Show More" or "Expand" button for longer content.

Additional context

Codelabz.-.Google.Chrome.2024-01-27.10-27-46.1.mp4

Truncating the title's and summary when the cards are side by side in "/tutorials".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions