@primer/brand-css 0.82.0 → 0.83.0-rc.4ec10de1
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.
|
@@ -22,11 +22,13 @@
|
|
|
22
22
|
font-size: var(--brand-text-size-200);
|
|
23
23
|
line-height: var(--brand-text-lineHeight-200);
|
|
24
24
|
color: var(--brand-color-text-default);
|
|
25
|
+
overflow-wrap: break-word;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.Prose--editorial {
|
|
28
29
|
font-size: var(--brand-text-size-300);
|
|
29
|
-
line-height: 1.
|
|
30
|
+
line-height: 1.6; /* TODO: no global exists, add one later */
|
|
31
|
+
font-variant-ligatures: none;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
/* ---------------------------------------------------------- */
|
|
@@ -40,7 +42,7 @@
|
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
.Prose--editorial * + * {
|
|
43
|
-
--spacing: var(--base-size-
|
|
45
|
+
--spacing: var(--base-size-48);
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
/* ---------------------------------------------------------- */
|
|
@@ -48,7 +50,11 @@
|
|
|
48
50
|
/* ---------------------------------------------------------- */
|
|
49
51
|
|
|
50
52
|
.Prose--lineLength {
|
|
51
|
-
max-
|
|
53
|
+
max-inline-size: var(--brand-Prose-lineLength);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.Prose--editorial.Prose--lineLength {
|
|
57
|
+
max-inline-size: var(--brand-Prose-editorial-lineLength);
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
/* ---------------------------------------------------------- */
|
|
@@ -64,7 +70,7 @@
|
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
.Prose--lineLength h1 {
|
|
67
|
-
max-
|
|
73
|
+
max-inline-size: 22ch;
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
.Prose h2 {
|
|
@@ -76,19 +82,19 @@
|
|
|
76
82
|
}
|
|
77
83
|
|
|
78
84
|
.Prose--lineLength h2 {
|
|
79
|
-
max-
|
|
85
|
+
max-inline-size: 26ch;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
88
|
.Prose h3 {
|
|
83
|
-
font-weight: var(--brand-heading-weight-
|
|
89
|
+
font-weight: var(--brand-heading-weight-600);
|
|
84
90
|
font-size: var(--brand-text-size-400);
|
|
85
91
|
line-height: var(--brand-heading-lineHeight-400);
|
|
86
92
|
font-family: var(--brand-heading-fontFamily);
|
|
87
93
|
letter-spacing: var(--brand-heading-letterSpacing-400);
|
|
88
94
|
}
|
|
89
95
|
|
|
90
|
-
.Prose--lineLength
|
|
91
|
-
max-
|
|
96
|
+
.Prose--lineLength h3 {
|
|
97
|
+
max-inline-size: 32ch;
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
.Prose h4 {
|
|
@@ -126,6 +132,19 @@
|
|
|
126
132
|
--spacing: var(--base-size-24);
|
|
127
133
|
}
|
|
128
134
|
|
|
135
|
+
.Prose--editorial :is(h1, h2, h3) {
|
|
136
|
+
max-inline-size: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.Prose--editorial h2 {
|
|
140
|
+
font-size: var(--brand-text-size-500);
|
|
141
|
+
line-height: var(--brand-text-lineHeight-500);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.Prose--editorial h3 {
|
|
145
|
+
line-height: var(--brand-text-lineHeight-400);
|
|
146
|
+
}
|
|
147
|
+
|
|
129
148
|
/* ---------------------------------------------------------- */
|
|
130
149
|
/* 5. Paragraphs */
|
|
131
150
|
/* ---------------------------------------------------------- */
|
|
@@ -135,7 +154,23 @@
|
|
|
135
154
|
}
|
|
136
155
|
|
|
137
156
|
.Prose--editorial p {
|
|
138
|
-
--spacing: var(--base-size-
|
|
157
|
+
--spacing: var(--base-size-48);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.Prose--editorial :is(p, li) {
|
|
161
|
+
letter-spacing: var(--brand-text-letterSpacing-300);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.Prose--editorial p + :is(p, ul, ol) {
|
|
165
|
+
--spacing: var(--base-size-28);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.Prose--editorial :is(h1, h2, h3, h4, h5, h6) {
|
|
169
|
+
--spacing: calc(var(--base-size-48) + var(--base-size-8));
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.Prose--editorial :is(h1, h2, h3, h4, h5, h6) + * {
|
|
173
|
+
--spacing: var(--base-size-24);
|
|
139
174
|
}
|
|
140
175
|
|
|
141
176
|
/* ---------------------------------------------------------- */
|
|
@@ -156,13 +191,17 @@
|
|
|
156
191
|
.Prose--editorial ul,
|
|
157
192
|
.Prose--editorial ol {
|
|
158
193
|
--spacing: var(--base-size-48);
|
|
159
|
-
gap: var(--base-size-
|
|
160
|
-
|
|
194
|
+
gap: var(--base-size-12);
|
|
195
|
+
margin-inline-start: var(--base-size-28);
|
|
196
|
+
line-height: inherit;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.Prose--editorial :is(h1, h2, h3, h4, h5, h6) + :is(ul, ol) {
|
|
200
|
+
--spacing: var(--base-size-24);
|
|
161
201
|
}
|
|
162
202
|
|
|
163
203
|
.Prose ul {
|
|
164
|
-
list-style
|
|
165
|
-
list-style-image: var(--brand-Prose-unorderedList-imageUrl);
|
|
204
|
+
list-style: disc;
|
|
166
205
|
}
|
|
167
206
|
|
|
168
207
|
.Prose li {
|
|
@@ -175,9 +214,7 @@
|
|
|
175
214
|
|
|
176
215
|
.Prose strong,
|
|
177
216
|
.Prose b {
|
|
178
|
-
font-weight: var(
|
|
179
|
-
--brand-text-weight-heavy
|
|
180
|
-
) !important; /* Overrides Primer product styles in dotcom. Should compute to 550 */
|
|
217
|
+
font-weight: var(--brand-heading-weight-600) !important; /* Overrides Primer product styles in dotcom */
|
|
181
218
|
}
|
|
182
219
|
|
|
183
220
|
.Prose em {
|
|
@@ -189,8 +226,10 @@
|
|
|
189
226
|
color: var(--brand-InlineLink-color-rest);
|
|
190
227
|
text-decoration: underline;
|
|
191
228
|
text-decoration-color: var(--brand-InlineLink-color-rest);
|
|
192
|
-
text-decoration-thickness:
|
|
193
|
-
text-
|
|
229
|
+
text-decoration-thickness: from-font;
|
|
230
|
+
-webkit-text-decoration-skip-ink: none;
|
|
231
|
+
text-decoration-skip-ink: none;
|
|
232
|
+
text-underline-position: from-font;
|
|
194
233
|
transition: var(--brand-InlineLink-transition-timing) text-decoration;
|
|
195
234
|
position: relative;
|
|
196
235
|
}
|
|
@@ -207,19 +246,49 @@
|
|
|
207
246
|
font-family: var(--brand-fontStack-monospace);
|
|
208
247
|
font-size: var(--brand-text-size-100);
|
|
209
248
|
white-space: break-spaces;
|
|
210
|
-
padding: var(--base-size-4) var(--base-size-8);
|
|
211
|
-
border-radius: var(--brand-borderRadius-small);
|
|
212
|
-
background-color: var(--brand-Prose-code-bgColor);
|
|
213
249
|
}
|
|
214
250
|
|
|
215
251
|
.Prose pre {
|
|
216
252
|
padding: var(--base-size-16);
|
|
217
253
|
border-radius: var(--brand-borderRadius-medium);
|
|
218
|
-
|
|
254
|
+
font-family: var(--brand-fontStack-monospace);
|
|
255
|
+
letter-spacing: -0.01em;
|
|
256
|
+
border: var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle);
|
|
257
|
+
background-color: var(--brand-color-canvas-subtle);
|
|
258
|
+
box-shadow: 1px 1px 0 var(--brand-color-border-subtle);
|
|
259
|
+
overflow-x: auto;
|
|
219
260
|
}
|
|
220
261
|
|
|
221
262
|
.Prose pre code {
|
|
222
263
|
padding: 0;
|
|
264
|
+
background-color: transparent;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.Prose code:not(pre code) {
|
|
268
|
+
letter-spacing: -0.01em;
|
|
269
|
+
padding-block: 0 1px;
|
|
270
|
+
padding-inline: var(--base-size-4);
|
|
271
|
+
border: var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle);
|
|
272
|
+
border-radius: 3px; /* TODO: no global radius token resolves to 3px */
|
|
273
|
+
background-color: var(--brand-color-canvas-subtle);
|
|
274
|
+
box-shadow: 1px 1px 0 var(--brand-color-border-subtle);
|
|
275
|
+
-webkit-box-decoration-break: clone;
|
|
276
|
+
box-decoration-break: clone;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.Prose--editorial code:not(pre code) {
|
|
280
|
+
font-size: var(--brand-text-size-200);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.Prose--editorial pre {
|
|
284
|
+
font-size: 15px; /* TODO: consider replacing with 16px. 15px is currently used in the design */
|
|
285
|
+
line-height: inherit;
|
|
286
|
+
padding-block: var(--base-size-24);
|
|
287
|
+
padding-inline: var(--base-size-28);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.Prose--editorial pre code {
|
|
291
|
+
font-size: inherit;
|
|
223
292
|
}
|
|
224
293
|
|
|
225
294
|
/* ---------------------------------------------------------- */
|
|
@@ -229,17 +298,18 @@
|
|
|
229
298
|
.Prose img {
|
|
230
299
|
--spacing: var(--brand-Prose-img-spacing);
|
|
231
300
|
display: block;
|
|
232
|
-
max-
|
|
233
|
-
|
|
234
|
-
margin-
|
|
235
|
-
margin-right: auto;
|
|
301
|
+
max-inline-size: 100%;
|
|
302
|
+
block-size: auto;
|
|
303
|
+
margin-inline: auto;
|
|
236
304
|
margin-block-end: var(--spacing);
|
|
237
305
|
}
|
|
238
306
|
|
|
307
|
+
.Prose figure img {
|
|
308
|
+
border-radius: var(--brand-borderRadius-medium);
|
|
309
|
+
}
|
|
310
|
+
|
|
239
311
|
.Prose--editorial figure img {
|
|
240
312
|
margin-block-end: 0;
|
|
241
|
-
border-radius: var(--brand-borderRadius-medium);
|
|
242
|
-
display: block;
|
|
243
313
|
}
|
|
244
314
|
|
|
245
315
|
/* ---------------------------------------------------------- */
|
|
@@ -251,74 +321,57 @@
|
|
|
251
321
|
position: relative;
|
|
252
322
|
font-size: var(--brand-text-size-400);
|
|
253
323
|
line-height: var(--brand-text-lineHeight-400);
|
|
254
|
-
|
|
255
|
-
padding-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
.Prose--default blockquote {
|
|
260
|
-
padding-left: var(--base-size-40);
|
|
324
|
+
font-weight: var(--brand-heading-weight-600);
|
|
325
|
+
padding-block-start: calc(var(--base-size-64) * 0.48 + var(--base-size-24));
|
|
326
|
+
padding-block-end: var(--base-size-8);
|
|
327
|
+
margin-block-end: var(--spacing);
|
|
261
328
|
}
|
|
262
329
|
|
|
263
330
|
.Prose--editorial blockquote {
|
|
331
|
+
--spacing: var(--base-size-48);
|
|
264
332
|
font-size: var(--brand-text-size-500);
|
|
265
333
|
line-height: var(--brand-text-lineHeight-500);
|
|
266
|
-
|
|
267
|
-
padding-top: var(--base-size-64);
|
|
334
|
+
margin-block-end: 0;
|
|
268
335
|
}
|
|
269
336
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
margin-block: var(--base-size-40);
|
|
273
|
-
}
|
|
337
|
+
.Prose--editorial blockquote p {
|
|
338
|
+
letter-spacing: normal;
|
|
274
339
|
}
|
|
275
340
|
|
|
276
341
|
.Prose blockquote::before {
|
|
277
342
|
content: '“';
|
|
278
|
-
font-size: var(--base-size-48);
|
|
279
|
-
line-height: var(--base-size-64);
|
|
280
|
-
font-weight: var(--base-text-weight-extrabold);
|
|
281
343
|
position: absolute;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
.Prose--editorial blockquote::before {
|
|
286
|
-
color: var(--brand-color-accent-primary);
|
|
344
|
+
inset-block-start: 0;
|
|
345
|
+
color: var(--brand-color-text-emphasized);
|
|
346
|
+
font-family: var(--brand-heading-fontFamily);
|
|
287
347
|
font-size: var(--base-size-64);
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
.Prose--default blockquote::after {
|
|
292
|
-
content: '';
|
|
293
|
-
display: block;
|
|
294
|
-
position: absolute;
|
|
295
|
-
width: var(--brand-borderWidth-thick);
|
|
296
|
-
height: 100%;
|
|
297
|
-
top: 0;
|
|
298
|
-
left: 0;
|
|
299
|
-
background-color: var(--base-color-scale-indigo-5);
|
|
300
|
-
background-image: linear-gradient(180deg, var(--base-color-scale-blue-5), var(--base-color-scale-purple-5));
|
|
348
|
+
font-weight: var(--brand-heading-weight-600);
|
|
349
|
+
line-height: 1.08;
|
|
301
350
|
}
|
|
302
351
|
|
|
303
|
-
.Prose
|
|
352
|
+
.Prose figcaption {
|
|
304
353
|
--spacing: var(--base-size-24);
|
|
305
354
|
font-family: var(--brand-fontStack-monospace);
|
|
306
355
|
font-size: var(--brand-text-size-100);
|
|
307
356
|
line-height: var(--brand-text-lineHeight-100);
|
|
357
|
+
font-weight: var(--brand-heading-weight-600);
|
|
308
358
|
color: var(--brand-color-text-muted);
|
|
309
359
|
}
|
|
310
360
|
|
|
311
|
-
.Prose
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
361
|
+
.Prose blockquote figcaption {
|
|
362
|
+
letter-spacing: 0.15px; /* TODO: no global letter-spacing token resolves to 0.15px */
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.Prose hr {
|
|
366
|
+
block-size: 0;
|
|
367
|
+
margin-block-start: var(--spacing, 1em);
|
|
368
|
+
margin-block-end: var(--spacing, 1em);
|
|
369
|
+
border: 0;
|
|
370
|
+
border-block-start: var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle);
|
|
315
371
|
}
|
|
316
372
|
|
|
317
373
|
.Prose--editorial hr {
|
|
318
|
-
--spacing: var(--base-size-
|
|
319
|
-
margin-block-start: var(--spacing);
|
|
320
|
-
margin-block-end: var(--spacing);
|
|
321
|
-
border: 1px solid var(--brand-color-border-muted);
|
|
374
|
+
--spacing: var(--base-size-60);
|
|
322
375
|
}
|
|
323
376
|
|
|
324
377
|
.Prose video,
|
|
@@ -329,20 +382,19 @@
|
|
|
329
382
|
|
|
330
383
|
border-radius: var(--brand-borderRadius-medium);
|
|
331
384
|
display: block;
|
|
332
|
-
|
|
333
|
-
margin-
|
|
334
|
-
margin-right: auto;
|
|
385
|
+
block-size: auto;
|
|
386
|
+
margin-inline: auto;
|
|
335
387
|
margin-block-end: var(--spacing);
|
|
336
388
|
}
|
|
337
389
|
|
|
338
390
|
.Prose video {
|
|
339
|
-
max-
|
|
391
|
+
max-inline-size: 100%;
|
|
340
392
|
}
|
|
341
393
|
|
|
342
394
|
.Prose iframe[src*='youtube.com'],
|
|
343
395
|
.Prose iframe[src*='youtu.be'],
|
|
344
396
|
.Prose iframe[src*='youtube-nocookie.com'] {
|
|
345
|
-
|
|
397
|
+
inline-size: 100%;
|
|
346
398
|
aspect-ratio: 16 / 9;
|
|
347
399
|
}
|
|
348
400
|
|
|
@@ -360,7 +412,7 @@
|
|
|
360
412
|
|
|
361
413
|
.Prose table {
|
|
362
414
|
--spacing: var(--base-size-32);
|
|
363
|
-
|
|
415
|
+
inline-size: 100%;
|
|
364
416
|
border-collapse: collapse;
|
|
365
417
|
border-spacing: 0;
|
|
366
418
|
font-size: var(--brand-text-size-200);
|
|
@@ -368,7 +420,7 @@
|
|
|
368
420
|
}
|
|
369
421
|
|
|
370
422
|
.Prose table caption {
|
|
371
|
-
text-align:
|
|
423
|
+
text-align: start;
|
|
372
424
|
padding-block-end: var(--base-size-24);
|
|
373
425
|
font-size: var(--brand-text-size-100);
|
|
374
426
|
font-weight: var(--brand-text-weight-100);
|
|
@@ -378,18 +430,11 @@
|
|
|
378
430
|
|
|
379
431
|
.Prose table th,
|
|
380
432
|
.Prose table td {
|
|
381
|
-
padding-block: var(--base-size-
|
|
382
|
-
padding-inline: var(--base-size-
|
|
383
|
-
text-align:
|
|
433
|
+
padding-block: var(--base-size-20);
|
|
434
|
+
padding-inline: 0 var(--base-size-16);
|
|
435
|
+
text-align: start;
|
|
384
436
|
vertical-align: top;
|
|
385
|
-
border-
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.Prose table th:first-child,
|
|
389
|
-
.Prose table td:first-child,
|
|
390
|
-
.Prose table th:last-child,
|
|
391
|
-
.Prose table td:last-child {
|
|
392
|
-
padding-inline: 0;
|
|
437
|
+
border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle);
|
|
393
438
|
}
|
|
394
439
|
|
|
395
440
|
.Prose table th {
|
|
@@ -400,15 +445,20 @@
|
|
|
400
445
|
}
|
|
401
446
|
|
|
402
447
|
.Prose table thead th {
|
|
403
|
-
|
|
448
|
+
padding-block-start: 0;
|
|
449
|
+
font-weight: var(--brand-heading-weight-600);
|
|
404
450
|
}
|
|
405
451
|
|
|
406
452
|
.Prose table tbody tr:last-child td {
|
|
407
|
-
border-
|
|
453
|
+
border-block-end: none;
|
|
408
454
|
}
|
|
409
455
|
|
|
410
456
|
.Prose--editorial table {
|
|
411
|
-
--spacing: var(--base-size-48);
|
|
457
|
+
--spacing: calc(var(--base-size-48) + var(--base-size-8));
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.Prose--editorial table + * {
|
|
461
|
+
--spacing: calc(var(--base-size-48) + var(--base-size-8));
|
|
412
462
|
}
|
|
413
463
|
|
|
414
464
|
.Prose td > ul:first-child,
|
|
@@ -417,28 +467,8 @@
|
|
|
417
467
|
}
|
|
418
468
|
|
|
419
469
|
@media screen and (min-width: 48rem) {
|
|
420
|
-
.Prose table
|
|
421
|
-
|
|
422
|
-
padding: var(--base-size-16) var(--base-size-8);
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.Prose table th:not(:first-child):not(:last-child),
|
|
426
|
-
.Prose table td:not(:first-child):not(:last-child) {
|
|
427
|
-
padding-inline: var(--base-size-16);
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
.Prose table th:first-child,
|
|
431
|
-
.Prose table td:first-child {
|
|
432
|
-
padding-inline-start: 0;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.Prose table th:last-child,
|
|
436
|
-
.Prose table td:last-child {
|
|
437
|
-
padding-inline-end: 0;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.Prose table tbody tr:hover {
|
|
441
|
-
background-color: var(--brand-color-canvas-subtle);
|
|
470
|
+
.Prose table tbody tr:last-child td {
|
|
471
|
+
border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle);
|
|
442
472
|
}
|
|
443
473
|
}
|
|
444
474
|
|
|
@@ -446,7 +476,7 @@
|
|
|
446
476
|
.Prose table:has(td[data-label]) {
|
|
447
477
|
border-collapse: separate;
|
|
448
478
|
border-spacing: 0;
|
|
449
|
-
|
|
479
|
+
inline-size: 100%;
|
|
450
480
|
background: none;
|
|
451
481
|
box-shadow: none;
|
|
452
482
|
font-size: var(--brand-text-size-200); /* inherit from Prose */
|
|
@@ -455,16 +485,17 @@
|
|
|
455
485
|
/* Visually hidden only */
|
|
456
486
|
.Prose table:has(td[data-label]) thead {
|
|
457
487
|
position: absolute;
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
height: 1px;
|
|
488
|
+
inline-size: 1px;
|
|
489
|
+
block-size: 1px;
|
|
461
490
|
overflow: hidden;
|
|
491
|
+
clip-path: inset(50%);
|
|
492
|
+
white-space: nowrap;
|
|
462
493
|
}
|
|
463
494
|
|
|
464
495
|
.Prose table:has(td[data-label]) tbody,
|
|
465
496
|
.Prose table:has(td[data-label]) tr {
|
|
466
497
|
display: block;
|
|
467
|
-
|
|
498
|
+
inline-size: 100%;
|
|
468
499
|
}
|
|
469
500
|
|
|
470
501
|
.Prose table:has(td[data-label]) th:not(:first-child):not(:last-child),
|
|
@@ -481,9 +512,10 @@
|
|
|
481
512
|
.Prose td[data-label] {
|
|
482
513
|
display: flex;
|
|
483
514
|
flex-direction: column;
|
|
484
|
-
|
|
515
|
+
inline-size: 100%;
|
|
485
516
|
padding: 0;
|
|
486
|
-
margin: 0
|
|
517
|
+
margin-block: 0 var(--base-size-16, 16px);
|
|
518
|
+
margin-inline: 0;
|
|
487
519
|
border: none;
|
|
488
520
|
align-items: flex-start;
|
|
489
521
|
}
|
|
@@ -497,13 +529,13 @@
|
|
|
497
529
|
content: attr(data-label);
|
|
498
530
|
color: var(--brand-color-text-muted);
|
|
499
531
|
margin-block-end: var(--base-size-4);
|
|
500
|
-
text-align:
|
|
532
|
+
text-align: start;
|
|
501
533
|
font-weight: var(--brand-text-weight-400);
|
|
502
534
|
}
|
|
503
535
|
|
|
504
536
|
.Prose table:has(td[data-label]) td:not([data-label]) {
|
|
505
537
|
display: block;
|
|
506
|
-
|
|
538
|
+
inline-size: 100%;
|
|
507
539
|
padding: 0;
|
|
508
540
|
margin-block-end: var(--base-size-16);
|
|
509
541
|
border: none;
|
|
@@ -367,6 +367,7 @@
|
|
|
367
367
|
display: flex;
|
|
368
368
|
position: relative;
|
|
369
369
|
width: 100%;
|
|
370
|
+
min-inline-size: 0;
|
|
370
371
|
z-index: 9999;
|
|
371
372
|
justify-content: flex-end;
|
|
372
373
|
padding-inline-end: var(--base-size-16);
|
|
@@ -381,10 +382,12 @@
|
|
|
381
382
|
|
|
382
383
|
.SubNav__overlay-toggle-content {
|
|
383
384
|
width: 100%;
|
|
385
|
+
min-inline-size: 0;
|
|
384
386
|
padding-inline-start: var(--base-size-16);
|
|
385
387
|
}
|
|
386
388
|
|
|
387
389
|
.SubNav__overlay-toggle-label {
|
|
390
|
+
max-inline-size: 100%;
|
|
388
391
|
background-color: var(--brand-SubNav-color-link-bgColor);
|
|
389
392
|
border: none;
|
|
390
393
|
border-radius: var(--brand-borderRadius-full);
|
|
@@ -392,6 +395,9 @@
|
|
|
392
395
|
gap: var(--base-size-6);
|
|
393
396
|
display: flex;
|
|
394
397
|
align-items: center;
|
|
398
|
+
text-align: start;
|
|
399
|
+
white-space: normal;
|
|
400
|
+
overflow-wrap: anywhere;
|
|
395
401
|
cursor: pointer;
|
|
396
402
|
font: inherit;
|
|
397
403
|
}
|
|
@@ -522,6 +528,7 @@
|
|
|
522
528
|
|
|
523
529
|
.SubNav__overlay-toggle-icon {
|
|
524
530
|
fill: var(--brand-color-text-default);
|
|
531
|
+
flex-shrink: 0;
|
|
525
532
|
}
|
|
526
533
|
|
|
527
534
|
.SubNav__overlay-toggle-content {
|