@hanology/cham-browser 0.4.10 → 0.4.11

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.10",
3
+ "version": "0.4.11",
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",
@@ -65,7 +65,8 @@ function toggleLayer(id: string) {
65
65
  display: flex;
66
66
  flex-direction: column;
67
67
  gap: 6px;
68
- align-items: stretch;
68
+ align-items: flex-start;
69
+ width: fit-content;
69
70
  }
70
71
 
71
72
  .ann-toggle {
@@ -103,6 +104,7 @@ function toggleLayer(id: string) {
103
104
  display: flex;
104
105
  flex-direction: column;
105
106
  gap: 4px;
107
+ align-items: flex-start;
106
108
  }
107
109
 
108
110
  .ann-layer-btn {
@@ -117,7 +119,6 @@ function toggleLayer(id: string) {
117
119
  cursor: pointer;
118
120
  transition: all 0.15s;
119
121
  white-space: nowrap;
120
- text-align: center;
121
122
  }
122
123
 
123
124
  .ann-layer-btn:hover {