@tnotesjs/ui 0.1.3 → 0.1.4

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": "@tnotesjs/ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Shared Vue UI for TNotes built-in blocks — consumed by the TNotes SSG and Desk.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -6,6 +6,8 @@
6
6
  font-optical-sizing: auto;
7
7
  font-synthesis: style;
8
8
  line-height: 1.5;
9
+ overflow-wrap: anywhere;
10
+ word-break: break-word;
9
11
  -webkit-font-smoothing: antialiased;
10
12
  }
11
13
  :is(.tn-prose, .vp-doc) :where(p) {
@@ -48,6 +50,8 @@
48
50
  color: var(--tn-c-brand);
49
51
  text-decoration: none;
50
52
  font-weight: 500;
53
+ overflow-wrap: anywhere;
54
+ word-break: break-word;
51
55
  }
52
56
  :is(.tn-prose, .vp-doc) :where(a:hover) {
53
57
  color: var(--tn-c-brand-hover);
@@ -125,7 +129,9 @@
125
129
  width: 100%;
126
130
  height: auto;
127
131
  }
128
- :is(.tn-prose, .vp-doc) :where(figure.tn-image > figcaption) {
132
+ :is(.tn-prose, .vp-doc) :where(figure.tn-image > figcaption),
133
+ :is(.tn-prose, .vp-doc) :where(figcaption) {
134
+ display: block;
129
135
  margin: 8px 0 0;
130
136
  color: var(--tn-c-text-2);
131
137
  font-size: 13px;