Skip to content

Commit

Permalink
fix(ValidationMessage): add position: relative (#2646)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes authored Oct 21, 2024
1 parent 50efed2 commit 630f0af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-dancers-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

ValidationMessage: fix icon abandoning the component when scrolling
1 change: 1 addition & 0 deletions packages/css/validation-message.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
--dsc-validation-message-gap: var(--ds-spacing-2);

margin: 0; /* Reset if rendered with <p> */
position: relative;

@composes ds-validation-message--md from './base/base.css';

Expand Down

0 comments on commit 630f0af

Please sign in to comment.