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

Option to include some but not all lines? #1

Open
christhofer opened this issue Sep 17, 2020 · 4 comments
Open

Option to include some but not all lines? #1

christhofer opened this issue Sep 17, 2020 · 4 comments

Comments

@christhofer
Copy link

christhofer commented Sep 17, 2020

Something like

  theme: {
    lineClamp: [2, 3]
  },
@neojp
Copy link
Owner

neojp commented Sep 17, 2020

While do-able, I'd recommend using purgecss to remove unsused styles anyway.

@christhofer
Copy link
Author

While do-able, I'd recommend using purgecss to remove unsused styles anyway.

Option like this can also be used if we need to clamp more than 10 lines. p.s not that I have any use case with that many lines.

@neojp
Copy link
Owner

neojp commented Sep 18, 2020

Sorry for the misunderstanding. I agree with you and I'm planning to work on this. Thanks for the feedback!

However, I still recommend using PurgeCSS to clean up your Tailwind bundle afterwards :)

@christhofer
Copy link
Author

I do use purge as the docs says purge: [ './src/**/*.vue', ],
I just think that maybe it'd be useful to have configurable option.

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

No branches or pull requests

2 participants