@vishu1301/script-writing 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -345,13 +345,16 @@ function ScreenplayEditorView({
345
345
  if (!document.getElementById(styleId)) {
346
346
  const style = document.createElement("style");
347
347
  style.id = styleId;
348
- style.textContent = `
349
- .font-screenplay-container,
350
- .font-screenplay-container *,
351
- .font-screenplay-container [contenteditable] {
352
- font-family: ${screenplayFont} !important;
353
- }
354
- `;
348
+ style.textContent = style.textContent = `
349
+ [data-screenplay-editor],
350
+ [data-screenplay-editor] *,
351
+ [data-screenplay-editor] [contenteditable="true"],
352
+ .font-screenplay-container,
353
+ .font-screenplay-container div,
354
+ .font-screenplay-container span {
355
+ font-family: 'Courier Prime', Courier, monospace !important;
356
+ }
357
+ `;
355
358
  document.head.appendChild(style);
356
359
  }
357
360
  }, [screenplayFont]);