Skip to content

Read more / read less inline variant#40

Closed
Roene-JustBetter wants to merge 6 commits into
masterfrom
feature/readmore-less-variant-inline
Closed

Read more / read less inline variant#40
Roene-JustBetter wants to merge 6 commits into
masterfrom
feature/readmore-less-variant-inline

Conversation

@Roene-JustBetter
Copy link
Copy Markdown
Member

This is a variant for: #38
Made use of JavaScript to show and hide the more / less buttons instead of a separate variant.

Screenshot 2026-04-17 at 14 04 46

Let's see what everyone prefer so we could merge this Pull request or: #38

## Notes
- **Clamping** The default of line-clamp-5 is used.
- **Buttons** You can't use <button tags inside the slots because it's wrapped by a <label. Simply use a <span tag.
- **Buttons** You can't use <button> tags inside the slots because it's wrapped by a <label>. Simply use a <span> tag.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This isn't true anymore, in this PR you have removed the label btw

@royduin
Copy link
Copy Markdown
Member

royduin commented May 1, 2026

Closing in favor of #38

@royduin royduin closed this May 1, 2026
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.

3 participants