@lerianstudio/sindarian-ui 2.0.0-beta.22 → 2.0.0-beta.24

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.
Files changed (2) hide show
  1. package/dist/document.css +17 -1
  2. package/package.json +1 -1
package/dist/document.css CHANGED
@@ -73,7 +73,7 @@
73
73
  .doc-prose h1 {
74
74
  font-size: clamp(2rem, 4vw, 2.5rem);
75
75
  line-height: 1.1;
76
- max-width: 28ch;
76
+ text-wrap: balance;
77
77
  margin: 0 0 1.5rem;
78
78
  }
79
79
  .doc-prose h2 {
@@ -174,6 +174,18 @@
174
174
  .doc-prose :where(th, td):last-child {
175
175
  padding-right: 0;
176
176
  }
177
+ /* .table-wrap scrolls a wide table inside the column at every width and holds
178
+ its margin; an ID or endpoint in a cell keeps its width instead of shredding. */
179
+ .doc-prose .table-wrap {
180
+ overflow-x: auto;
181
+ margin: 0 0 1.25rem;
182
+ }
183
+ .doc-prose .table-wrap > table {
184
+ margin: 0;
185
+ }
186
+ .doc-prose .table-wrap td :where(code, a) {
187
+ overflow-wrap: normal;
188
+ }
177
189
 
178
190
  .doc-prose hr {
179
191
  border: 0;
@@ -205,6 +217,10 @@
205
217
  display: block;
206
218
  overflow-x: auto;
207
219
  }
220
+ /* An ID or endpoint in a cell keeps its width, so the table scrolls instead of shredding it. */
221
+ .doc-prose td :where(code, a) {
222
+ overflow-wrap: normal;
223
+ }
208
224
  .doc-prose dl {
209
225
  display: block;
210
226
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lerianstudio/sindarian-ui",
3
- "version": "2.0.0-beta.22",
3
+ "version": "2.0.0-beta.24",
4
4
  "description": "Sindarian UI - A UI library for Midaz Console",
5
5
  "license": "Elastic-2.0",
6
6
  "author": {