@hanology/cham-browser 0.4.80 → 0.4.82

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.80",
3
+ "version": "0.4.82",
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",
@@ -485,35 +485,49 @@ onBeforeUnmount(() => {
485
485
  overflow-x: auto;
486
486
  flex: 1;
487
487
  min-width: 0;
488
+ align-items: stretch;
488
489
  }
489
490
 
490
491
  .ann-card.vertical .ann-entry {
491
- flex-shrink: 0;
492
- border-bottom: none;
493
- margin: 0 3px;
494
- border-right: 1px solid var(--border-light);
495
492
  writing-mode: vertical-rl;
496
493
  text-orientation: mixed;
497
494
  display: flex;
498
495
  flex-direction: row;
496
+ align-items: flex-start;
497
+ flex-shrink: 0;
498
+ padding: 0 6px;
499
+ margin: 0;
500
+ border-bottom: none;
501
+ border-right: 1px solid var(--border-light);
499
502
  }
500
503
 
501
504
  .ann-card.vertical .ann-entry:first-child {
505
+ padding: 0 6px;
502
506
  border-right: none;
503
507
  }
504
508
 
505
509
  .ann-card.vertical .ann-card-close {
506
510
  writing-mode: horizontal-tb;
507
- top: 4px;
508
- left: 4px;
511
+ position: relative;
512
+ top: auto;
513
+ left: auto;
514
+ align-self: flex-start;
515
+ opacity: 0.5;
516
+ margin: 4px;
517
+ flex-shrink: 0;
509
518
  }
510
519
 
511
- .ann-card.vertical .ann-pron-h {
512
- writing-mode: vertical-lr;
520
+ .ann-card.vertical .ann-entry-header {
521
+ gap: 4px;
522
+ margin-bottom: 4px;
513
523
  }
514
524
 
515
525
  .ann-card.vertical .ann-entry-body {
516
- padding-left: 0;
526
+ padding: 0;
527
+ }
528
+
529
+ .ann-card.vertical .ann-pron-h {
530
+ writing-mode: vertical-lr;
517
531
  }
518
532
 
519
533
  .ann-card.vertical .ann-text {
@@ -521,10 +535,6 @@ onBeforeUnmount(() => {
521
535
  line-height: 2;
522
536
  }
523
537
 
524
- .ann-card.vertical .ann-entry-header {
525
- gap: 4px;
526
- }
527
-
528
538
  .ann-card.vertical .ann-entry:last-child {
529
539
  border-right: none;
530
540
  }