@vishu1301/script-writing 0.5.4 → 1.0.0

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
@@ -341,6 +341,7 @@ function ScreenplayEditorView({
341
341
  document.head.appendChild(link);
342
342
  }
343
343
  }, []);
344
+ const screenplayFont = "'Courier Prime', Courier, monospace";
344
345
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
345
346
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-6 z-50 bg-white backdrop-blur-xl border border-white/10 rounded-full shadow-2xl flex gap-1 max-w-fit p-1.5 mb-12 select-none overflow-x-auto custom-scrollbar", children: blockTypes.map((type) => {
346
347
  var _a;
@@ -383,14 +384,14 @@ function ScreenplayEditorView({
383
384
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-12 w-full items-center pb-24", children: /* @__PURE__ */ jsxRuntime.jsx(
384
385
  "div",
385
386
  {
386
- className: "relative bg-[#fdfdfc] shadow-2xl shadow-zinc-300/60 border border-zinc-100 rounded-sm md:rounded-md pl-[1.5in] py-[1in] pr-[1in] flex flex-col w-[210mm] min-h-[297mm] shrink-0 font-screenplay!",
387
+ className: "relative bg-[#fdfdfc] shadow-2xl shadow-zinc-300/60 border border-zinc-100 rounded-sm md:rounded-md pl-[1.5in] py-[1in] pr-[1in] flex flex-col w-[210mm] min-h-[297mm] shrink-0 ",
387
388
  style: {
388
- // fontFamily:
389
- // "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace) !important",
389
+ fontFamily: screenplayFont,
390
390
  paddingLeft: "1.5in",
391
391
  paddingRight: "1in",
392
392
  paddingTop: "1in",
393
- paddingBottom: "1in"
393
+ paddingBottom: "1in",
394
+ lineHeight: "1.2"
394
395
  },
395
396
  children: blocks.map((block) => {
396
397
  var _a, _b;