@hanology/cham-browser 0.4.34 → 0.4.36

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.34",
3
+ "version": "0.4.36",
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",
@@ -443,9 +443,7 @@ onBeforeUnmount(() => {
443
443
 
444
444
  /* ─── Vertical mode ─── */
445
445
  .ann-card.vertical {
446
- writing-mode: vertical-rl;
447
- text-orientation: mixed;
448
- flex-direction: column;
446
+ flex-direction: row-reverse;
449
447
  overflow: hidden;
450
448
  }
451
449
 
@@ -454,7 +452,7 @@ onBeforeUnmount(() => {
454
452
  text-orientation: upright;
455
453
  padding: 6px 10px;
456
454
  border-bottom: none;
457
- border-left: 1px solid var(--border-light);
455
+ border-right: 1px solid var(--border-light);
458
456
  flex-direction: row;
459
457
  align-items: center;
460
458
  flex-shrink: 0;
@@ -468,12 +466,11 @@ onBeforeUnmount(() => {
468
466
 
469
467
  .ann-card.vertical .ann-card-scroll {
470
468
  display: flex;
471
- flex-direction: column;
469
+ flex-direction: row;
472
470
  padding: 8px 0;
473
- overflow-x: auto;
474
471
  overflow-y: hidden;
472
+ overflow-x: auto;
475
473
  flex: 1;
476
- min-height: 0;
477
474
  }
478
475
 
479
476
  .ann-card.vertical .ann-entry {
@@ -481,6 +478,8 @@ onBeforeUnmount(() => {
481
478
  border-bottom: none;
482
479
  padding: 0 10px;
483
480
  border-right: 1px solid var(--border-light);
481
+ writing-mode: vertical-rl;
482
+ text-orientation: mixed;
484
483
  }
485
484
 
486
485
  .ann-card.vertical .ann-entry:first-child {
@@ -490,7 +489,7 @@ onBeforeUnmount(() => {
490
489
  .ann-card.vertical .ann-card-close {
491
490
  writing-mode: horizontal-tb;
492
491
  top: 4px;
493
- right: 4px;
492
+ left: 4px;
494
493
  }
495
494
 
496
495
  .ann-card.vertical .ann-pron-h {
@@ -506,6 +505,16 @@ onBeforeUnmount(() => {
506
505
  line-height: 2;
507
506
  }
508
507
 
508
+ .ann-card.vertical .ann-entry-header {
509
+ flex-direction: column;
510
+ align-items: flex-start;
511
+ gap: 4px;
512
+ }
513
+
514
+ .ann-card.vertical .ann-entry:last-child {
515
+ border-right: none;
516
+ }
517
+
509
518
  .ann-sheet-body {
510
519
  flex: 1;
511
520
  display: flex;