Skip to content

Commit

Permalink
Merge d81ddd0 into 5472199
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh authored Nov 26, 2024
2 parents 5472199 + d81ddd0 commit f73b914
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-birds-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-css": patch
---

Modal: Now shows up while screensharing with Vergic
5 changes: 5 additions & 0 deletions @navikt/core/css/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
max-height: 100%;
max-width: 100%;
color: var(--a-text-default);

/* In case Modal is opened with `show()`, in eg. Vergic screensharing */
inset: 0;
z-index: 9999;
}

.navds-modal[open] {
Expand All @@ -24,6 +28,7 @@

.navds-modal--polyfilled {
top: 50%;
bottom: unset; /* Overrides inset: 0 from .navds-modal */
transform: translate(0, -50%);

/* From polyfill (dialog-polyfill/dist/dialog-polyfill.css): */
Expand Down

0 comments on commit f73b914

Please sign in to comment.