diff --git a/src/app/shared/bias-annotations/bias-annotations.css b/src/app/shared/bias-annotations/bias-annotations.css
index 8ae83b5..a6702d8 100644
--- a/src/app/shared/bias-annotations/bias-annotations.css
+++ b/src/app/shared/bias-annotations/bias-annotations.css
@@ -19,7 +19,23 @@ button:disabled { cursor: not-allowed; opacity: .5; }
.bias-actions { justify-content: flex-end; }
.bias-actions .danger { color: #b91c1c; }
.bias-error, label.invalid em { margin-top: 5px; color: #b91c1c; font-size: 11px; font-style: normal; }
-.bias-modal-backdrop { position: fixed; inset: 0; z-index: 10020; display: grid; place-items: center; background: rgb(15 23 42 / 55%); }
+.bias-modal-backdrop {
+ position: fixed;
+ inset: 0;
+ z-index: 10020;
+ display: grid;
+ place-items: center;
+ width: 100vw;
+ height: 100vh;
+ max-width: 100vw;
+ max-height: 100vh;
+ margin: 0;
+ padding: 0;
+ border: none;
+ background: transparent;
+ color: inherit;
+}
+.bias-modal-backdrop::backdrop { background: rgb(15 23 42 / 55%); }
.bias-modal { width: min(620px, 92vw); max-height: 86vh; overflow: auto; border-radius: 14px; background: white; padding: 20px; box-shadow: 0 20px 60px rgb(0 0 0 / 25%); }
.bias-modal h3 { margin: 0 0 14px; font-size: 18px; }
.bias-form { display: grid; gap: 12px; }
diff --git a/src/app/shared/bias-annotations/bias-annotations.html b/src/app/shared/bias-annotations/bias-annotations.html
index b4c90c3..06d2f96 100644
--- a/src/app/shared/bias-annotations/bias-annotations.html
+++ b/src/app/shared/bias-annotations/bias-annotations.html
@@ -42,7 +42,7 @@
@if (editorOpen) {
-
+
}
}
diff --git a/src/app/shared/bias-annotations/bias-annotations.spec.ts b/src/app/shared/bias-annotations/bias-annotations.spec.ts
index ba37a2f..49c94bc 100644
--- a/src/app/shared/bias-annotations/bias-annotations.spec.ts
+++ b/src/app/shared/bias-annotations/bias-annotations.spec.ts
@@ -110,6 +110,26 @@ describe('BiasAnnotationsComponent', () => {
expect(component.serverError(1, 'category')).toBeNull();
});
+ it('renders the editor as a native