@lingjingai/script-editor 0.1.14 → 0.1.15
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/style.css +8 -1
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -543,8 +543,15 @@
|
|
|
543
543
|
.lj-se-asian-narration { font-style: italic; opacity: 0.8; }
|
|
544
544
|
.lj-se-asian-cueline.is-inner { font-style: italic; opacity: 0.92; }
|
|
545
545
|
.lj-se-asian-speaker { flex-shrink: 0; font-weight: 600; }
|
|
546
|
-
|
|
546
|
+
/* As a flex item, a native <select> sizes to its widest <option> (the widest
|
|
547
|
+
actor name) — leaving a gap before the emotion tag on short names. field-sizing
|
|
548
|
+
shrinks it to the SELECTED option so the tag hugs the name. */
|
|
549
|
+
.lj-se-asian-speaker--select { display: inline; field-sizing: content; max-width: 16rem; }
|
|
547
550
|
.lj-se-asian-tag { flex-shrink: 0; margin-left: 2px; font-style: italic; opacity: 0.45; }
|
|
551
|
+
/* the emotion editor is nested INSIDE the tag (not a direct cueline child), so the
|
|
552
|
+
"fill the rest of the line" rule below doesn't reach it — without this it would
|
|
553
|
+
inherit width:100% and blow the ( ) parens onto their own lines while editing. */
|
|
554
|
+
.lj-se-asian-tag .lj-se-editing { width: auto; field-sizing: content; min-width: 2ch; max-width: 14ch; }
|
|
548
555
|
.lj-se-asian-colon { flex-shrink: 0; margin: 0 2px; }
|
|
549
556
|
.lj-se-asian-narration .lj-se-editable { display: inline; }
|
|
550
557
|
/* the content editor (span in display, textarea in edit) fills the rest of the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingjingai/script-editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "Pure, business-decoupled screenplay (剧本) editor: value:ScriptProject + onEdit(patch); dual-format (standard/asian), virtualized single-stream, click-to-edit; bundled CSS, business injected via adapters.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|