You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inception/inception-html-apache-annotator-editor/src/main/java/de/tudarmstadt/ukp/inception/apacheannotatoreditor/ApacheAnnotatorHtmlAnnotationEditorFactoryUserPreferences.schema.json
Copy file name to clipboardExpand all lines: inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorEditor.scss
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,12 +113,33 @@ sec-wrap {
113
113
114
114
.i7n-wrapper {
115
115
position: relative;
116
-
line-height: 1.8;
116
+
line-height: 1.8;// default; overridden by the .iaa-line-spacing-* presets below
117
117
overflow: auto;
118
118
padding-left: var(--vertical-tray-width-left);
119
119
padding-right: var(--vertical-tray-width-right);
120
120
}
121
121
122
+
/**
123
+
* Line-spacing presets. Toggled as a class on the editor root by applyLineSpacing();
124
+
* line-height inherits down to the document content.
125
+
*/
126
+
.iaa-line-spacing-low {
127
+
line-height: 1.4;
128
+
}
129
+
130
+
.iaa-line-spacing-mid {
131
+
line-height: 1.8;
132
+
}
133
+
134
+
.iaa-line-spacing-high {
135
+
line-height: 2.6;
136
+
}
137
+
138
+
.iaa-line-spacing-xhigh {
139
+
line-height: 5.2; // double the `high` preset; the arc bow scale is already capped (see
140
+
// ARC_BOW_SCALE_MAX) so the stacked-arc bow matches `high` rather than scaling further.
Copy file name to clipboardExpand all lines: inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorEditor.ts
+53-31Lines changed: 53 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,12 @@ import { ApacheAnnotatorVisualizer } from './ApacheAnnotatorVisualizer.svelte';
Copy file name to clipboardExpand all lines: inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorSelector.ts
+46-7Lines changed: 46 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,12 @@ import { createPopper, type Instance } from '@popperjs/core';
28
28
* selection is offered (no ❌); activating an entry selects it.
29
29
* - `keyboard-delete`: opened via the keyboard to pick an annotation to delete.
30
30
* Activating an entry deletes it and the entry is styled as destructive.
31
+
* - `relation-target`: opened by a relation-creation drag that ended on a stack of
32
+
* several spans. Activating an entry resolves the
33
+
* pending pick callback with the chosen vid instead of selecting/deleting; dismissing
Copy file name to clipboardExpand all lines: inception/inception-html-apache-annotator-editor/src/main/ts/src/apache-annotator/ApacheAnnotatorState.svelte.ts
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,16 @@
16
16
* limitations under the License.
17
17
*/
18
18
19
-
exportconstannotatorState=$state({
19
+
/**
20
+
* Line-spacing presets. The actual line-heights live in SCSS next to the
21
+
* `.i7n-wrapper` rule (`iaa-line-spacing-low|mid|high|xhigh`); `mid` is the default.
0 commit comments