@vishu1301/script-writing 0.5.2 → 0.5.3
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -283,7 +283,7 @@ function PdfImporter({ onScriptImported, children }) {
|
|
|
283
283
|
{
|
|
284
284
|
ref: fileInputRef,
|
|
285
285
|
type: "file",
|
|
286
|
-
accept: ".pdf
|
|
286
|
+
accept: ".pdf,application/pdf",
|
|
287
287
|
onChange: handleFileChange,
|
|
288
288
|
disabled: isProcessing,
|
|
289
289
|
className: "hidden",
|
|
@@ -385,7 +385,7 @@ function ScreenplayEditorView({
|
|
|
385
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",
|
|
387
387
|
style: {
|
|
388
|
-
fontFamily: "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace)",
|
|
388
|
+
fontFamily: "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace) !important",
|
|
389
389
|
paddingLeft: "1.5in",
|
|
390
390
|
paddingRight: "1in",
|
|
391
391
|
paddingTop: "1in",
|
|
@@ -451,6 +451,9 @@ function ScreenplayEditorView({
|
|
|
451
451
|
"aria-expanded": focusedBlockId === block.id && showSuggestions && locations.length > 0,
|
|
452
452
|
spellCheck: false,
|
|
453
453
|
className: "min-w-[3rem] py-1 outline-none text-base font-bold uppercase tracking-widest break-all bg-transparent",
|
|
454
|
+
style: {
|
|
455
|
+
minWidth: "3rem"
|
|
456
|
+
},
|
|
454
457
|
onInput: (e) => handleBlockTextChange(
|
|
455
458
|
block.id,
|
|
456
459
|
e.target.innerText
|