@hanology/cham-browser 0.4.12 → 0.4.13

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.12",
3
+ "version": "0.4.13",
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",
@@ -67,6 +67,7 @@ function toggleLayer(id: string) {
67
67
 
68
68
  <style scoped>
69
69
  .ann-bar {
70
+ writing-mode: horizontal-tb;
70
71
  display: flex;
71
72
  flex-direction: column;
72
73
  gap: 6px;
@@ -778,16 +778,13 @@ function tcy(n: number): string {
778
778
  .v-nav-btn {
779
779
  writing-mode: vertical-rl;
780
780
  text-orientation: mixed;
781
- display: flex;
782
- flex-direction: row;
783
- align-items: center;
784
- gap: 8px;
785
- padding: 16px 8px;
781
+ padding: 20px 12px;
786
782
  background: var(--surface);
787
783
  border: 1px solid var(--border-light);
788
784
  border-radius: 6px;
789
785
  cursor: pointer;
790
786
  transition: all 0.2s;
787
+ line-height: 1.6;
791
788
  }
792
789
  .v-nav-btn:hover {
793
790
  border-color: var(--gold);
@@ -795,10 +792,12 @@ function tcy(n: number): string {
795
792
  }
796
793
  .v-nav-dir {
797
794
  font-size: 16px; color: var(--vermillion);
795
+ margin-bottom: 0.5em;
798
796
  }
799
797
  .v-nav-label {
800
798
  font-size: 11px; color: var(--ink-faint);
801
799
  font-family: var(--sans); letter-spacing: 2px;
800
+ margin-bottom: 0.5em;
802
801
  }
803
802
  .v-nav-title {
804
803
  font-size: 18px; font-weight: 700;