@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.js
CHANGED
|
@@ -258,7 +258,7 @@ function PdfImporter({ onScriptImported, children }) {
|
|
|
258
258
|
{
|
|
259
259
|
ref: fileInputRef,
|
|
260
260
|
type: "file",
|
|
261
|
-
accept: ".pdf
|
|
261
|
+
accept: ".pdf,application/pdf",
|
|
262
262
|
onChange: handleFileChange,
|
|
263
263
|
disabled: isProcessing,
|
|
264
264
|
className: "hidden",
|
|
@@ -360,7 +360,7 @@ function ScreenplayEditorView({
|
|
|
360
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
362
|
style: {
|
|
363
|
-
fontFamily: "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace)",
|
|
363
|
+
fontFamily: "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace) !important",
|
|
364
364
|
paddingLeft: "1.5in",
|
|
365
365
|
paddingRight: "1in",
|
|
366
366
|
paddingTop: "1in",
|
|
@@ -426,6 +426,9 @@ function ScreenplayEditorView({
|
|
|
426
426
|
"aria-expanded": focusedBlockId === block.id && showSuggestions && locations.length > 0,
|
|
427
427
|
spellCheck: false,
|
|
428
428
|
className: "min-w-[3rem] py-1 outline-none text-base font-bold uppercase tracking-widest break-all bg-transparent",
|
|
429
|
+
style: {
|
|
430
|
+
minWidth: "3rem"
|
|
431
|
+
},
|
|
429
432
|
onInput: (e) => handleBlockTextChange(
|
|
430
433
|
block.id,
|
|
431
434
|
e.target.innerText
|