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

feat: css gap utils #6203

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: css gap utils #6203

wants to merge 2 commits into from

Conversation

ndom91
Copy link
Contributor

@ndom91 ndom91 commented Feb 6, 2025

🧢 Changes

  • Add gap utility classes
  • @PavelLaptev do you know a better way to do this? To avoid using !important on these util classes?
    • The svelte component Link has a predefined gap: 2px in it's scoped styles for the class link. Which oddly also comes before our prop class, so you'd think our prop classes would override it (i.e. something like class="link ${classes}"), but I guess it wins on specificity due to the additional svelte scoping auto-generated class name 🤷

☕️ Reasoning

Copy link

vercel bot commented Feb 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gitbutler-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2025 10:23am
gitbutler-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2025 10:23am

@mtsgrd
Copy link
Contributor

mtsgrd commented Feb 7, 2025

Following from our conversation earlier, can we try and accomplish this without !importrant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants