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

Commands for popopular use cases #4967

Open
kof opened this issue Mar 7, 2025 · 0 comments
Open

Commands for popopular use cases #4967

kof opened this issue Mar 7, 2025 · 0 comments
Labels
complexity:high Multiple weeks of work or more prio:2 Always look for prio:1 issues first before working on prio:2 type:feat Features and enhancements

Comments

@kof
Copy link
Member

kof commented Mar 7, 2025

Ideally this type of snippets could be created also by the user for quick access and it would be able to:

  • set css
  • insert html with css
  1. Truncate text
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  1. Line clamping https://x.com/getwebstudio/status/1811524195677020582
  display: -webkit-box
  webkit-box-orient: vertical
  -webkit-line-clamp: <# of lines>
  overflow: hidden

3. Link-cards (when user wants to have a big card clickable but there is also a link inside)

  • position: relative on a card
  • position: absolute; inset: 0; on a span inside a link to make link clickable
@kof kof added type:feat Features and enhancements complexity:high Multiple weeks of work or more prio:2 Always look for prio:1 issues first before working on prio:2 labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity:high Multiple weeks of work or more prio:2 Always look for prio:1 issues first before working on prio:2 type:feat Features and enhancements
Projects
None yet
Development

No branches or pull requests

1 participant