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

fix: sørg for riktig spesifisitet i density-mixins #4278

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

piofinn
Copy link
Contributor

@piofinn piofinn commented Nov 11, 2024

Fikser en bug der mixins for layout-density måtte angis i en spesifikk rekkefølge

closes #4277

🎯 Sjekkliste

  • pnpm build og pnpm ci:test gir ingen feil

@piofinn piofinn self-assigned this Nov 11, 2024
@fremtind-bot
Copy link
Collaborator

fremtind-bot commented Nov 11, 2024

Forhåndsvisning: https://jokul.fremtind.no/preview/fix/density-mixins/
🔍 Commit: e4ee50e

Forhåndsvisningen blir tilgjengelig innen et par minutter. Den fjernes automatisk når pull requesten lukkes.

fremtind-bot added a commit that referenced this pull request Nov 11, 2024
Copy link
Contributor

@ivarni ivarni left a comment

Choose a reason for hiding this comment

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

Jeg får litt lyst til å foreslå at når/hvis man ser på density på nytt så blir det en global switch for hele appen på rot-nivå (feks .jkl .jkl--compact eller .jkl) for sånn som det er nå genererer vi noen ganske massive CSS-selectors her.

Så kan heller "large/small" være kun på komponent-nivå uten at det arves nedover. Jeg tenker man ikke burde trenge å sette noen av delene for hele subtre av DOMen.

@piofinn piofinn added this pull request to the merge queue Nov 12, 2024
Merged via the queue into main with commit c7a2e51 Nov 12, 2024
3 checks passed
@piofinn piofinn deleted the fix/density-mixins branch November 12, 2024 06:19
github-actions bot pushed a commit that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Feil: nye mixins for density har spesifisitetsfeil
3 participants