Skip to content

Commit a10eaa6

Browse files
author
iexitdev
committed
Adjust docs prop table layout
1 parent 550ba42 commit a10eaa6

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

apps/site/src/styles/starlight.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,34 @@ h1#_top,
450450
overflow: visible;
451451
width: 100%;
452452
min-width: 100%;
453+
font-size: 0.92rem;
453454
table-layout: fixed;
454455
}
455456

457+
.sl-markdown-content
458+
table:has(thead th:nth-child(3)):not(:has(thead th:nth-child(4))):not(
459+
:where(.not-content *)
460+
)
461+
:is(th, td):nth-child(1) {
462+
width: 19%;
463+
}
464+
465+
.sl-markdown-content
466+
table:has(thead th:nth-child(3)):not(:has(thead th:nth-child(4))):not(
467+
:where(.not-content *)
468+
)
469+
:is(th, td):nth-child(2) {
470+
width: 34%;
471+
}
472+
473+
.sl-markdown-content
474+
table:has(thead th:nth-child(3)):not(:has(thead th:nth-child(4))):not(
475+
:where(.not-content *)
476+
)
477+
:is(th, td):nth-child(3) {
478+
width: 47%;
479+
}
480+
456481
.sl-markdown-content :is(th, td):not(:where(.not-content *)) {
457482
overflow-wrap: anywhere;
458483
}

0 commit comments

Comments
 (0)