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

[ExpansionCard] 🐛 Fixed bug where '@media print' would hide header content. #3634

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented Mar 7, 2025

Description

Since @media print sets background to white !important, the after element suddenly became visible. This is easily fixed by setting the default opacity to 0.

Component Checklist 📝

  • JSDoc
  • Examples
  • Documentation / Decision Records
  • Storybook
  • Style mappings (@navikt/core/css/config/_mappings.js)
  • Component tokens (@navikt/core/css/tokens.json)
  • CSS class deprecations (@navikt/aksel-stylelint/src/deprecations.ts)
  • Exports (@navikt/core/react/src/index.ts and @navikt/core/react/package.json)
  • New component? CSS import (@navikt/core/css/index.css)
  • Breaking change? Update migration guide. Consider codemod.
  • Changeset (Format: <Component>: <gitmoji?> <Text>. E.g. "Button: ✨ Add feature xyz.")

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
Copy link
Contributor

github-actions bot commented Mar 7, 2025

Storybook demo / Chromatic

161bf7a48 | 91 components | 135 stories

@KenAJoh KenAJoh merged commit c1b2944 into main Mar 7, 2025
6 checks passed
@KenAJoh KenAJoh deleted the expansioncard-after-print branch March 7, 2025 09:37
@github-actions github-actions bot mentioned this pull request Mar 7, 2025
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.

None yet

2 participants