@hanology/cham-browser 0.4.21 → 0.4.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanology/cham-browser",
3
- "version": "0.4.21",
3
+ "version": "0.4.22",
4
4
  "description": "CHAM — browser-compatible parser, serializer, and site generator for Classical Han Annotated Markdown",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -415,6 +415,8 @@ onBeforeUnmount(() => {
415
415
  writing-mode: vertical-rl;
416
416
  text-orientation: mixed;
417
417
  flex-direction: column;
418
+ overflow-y: hidden;
419
+ overflow-x: hidden;
418
420
  }
419
421
 
420
422
  .ann-card.vertical .ann-card-head {
@@ -436,6 +438,8 @@ onBeforeUnmount(() => {
436
438
  border-bottom: none;
437
439
  padding: 0 10px;
438
440
  border-right: 1px solid var(--border-light);
441
+ max-height: inherit;
442
+ overflow-y: hidden;
439
443
  }
440
444
 
441
445
  .ann-card.vertical .ann-entry:first-child {
@@ -200,7 +200,7 @@ export function useAnnotationTooltip() {
200
200
  visible.value = true
201
201
  }
202
202
 
203
- function hide() { visible.value = false; headword.value = '' }
203
+ function hide() { visible.value = false }
204
204
  function toggle(event: MouseEvent, annotations: Annotation[]) {
205
205
  if (visible.value) {
206
206
  const currentIds = items.value.map(a => a.id).sort().join(',')