@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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -316,6 +316,7 @@ function ScreenplayEditorView({
|
|
|
316
316
|
document.head.appendChild(link);
|
|
317
317
|
}
|
|
318
318
|
}, []);
|
|
319
|
+
const screenplayFont = "'Courier Prime', Courier, monospace";
|
|
319
320
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
320
321
|
/* @__PURE__ */ 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) => {
|
|
321
322
|
var _a;
|
|
@@ -358,14 +359,14 @@ function ScreenplayEditorView({
|
|
|
358
359
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-12 w-full items-center pb-24", children: /* @__PURE__ */ jsx(
|
|
359
360
|
"div",
|
|
360
361
|
{
|
|
361
|
-
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
|
|
362
|
+
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 ",
|
|
362
363
|
style: {
|
|
363
|
-
|
|
364
|
-
// "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace) !important",
|
|
364
|
+
fontFamily: screenplayFont,
|
|
365
365
|
paddingLeft: "1.5in",
|
|
366
366
|
paddingRight: "1in",
|
|
367
367
|
paddingTop: "1in",
|
|
368
|
-
paddingBottom: "1in"
|
|
368
|
+
paddingBottom: "1in",
|
|
369
|
+
lineHeight: "1.2"
|
|
369
370
|
},
|
|
370
371
|
children: blocks.map((block) => {
|
|
371
372
|
var _a, _b;
|