@hanology/cham-browser 0.4.32 → 0.4.33

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.32",
3
+ "version": "0.4.33",
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",
@@ -489,10 +489,12 @@ onBeforeUnmount(() => {
489
489
  overflow-y: hidden;
490
490
  overflow-x: auto;
491
491
  overscroll-behavior: contain;
492
+ touch-action: pan-x;
493
+ -webkit-overflow-scrolling: touch;
492
494
  }
493
495
 
494
496
  .ann-pane.vertical .ann-pane-entry {
495
- padding: 12px 0;
497
+ padding: 24px 12px;
496
498
  border-bottom: none;
497
499
  border-right: 1px solid var(--border-light);
498
500
  border-left: none;
@@ -571,7 +573,9 @@ onBeforeUnmount(() => {
571
573
 
572
574
  @media (max-width: 768px) {
573
575
  .ann-pane.vertical {
574
- width: 65vw !important;
576
+ width: auto !important;
577
+ max-width: 65vw !important;
578
+ min-width: 180px;
575
579
  height: 100vh !important;
576
580
  max-height: none !important;
577
581
  top: 0 !important;
@@ -586,9 +590,6 @@ onBeforeUnmount(() => {
586
590
  .ann-pane.vertical .ann-pane-handle {
587
591
  display: flex !important;
588
592
  }
589
- .ann-pane.vertical .ann-pane-body {
590
- padding: 20px 0;
591
- }
592
593
  .ann-pane.vertical .ann-pane-close {
593
594
  width: 36px;
594
595
  height: 36px;