1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/components/rest/RestParameterTable.module.scss
Grace Park 1a6bee4601 Refactor to add RestReferencePage (#25781)
* refactor to add RestReferencePage

* remove structured data from article page

* add back clientsidehightlight js and remove structuredcontent

* update endpoint available for github apps page to use RestReferencePage

* check for minitocs

* use children for ArticlePage for overview endpoints page and move category data to RestReferencePage

* create MiniTocs component

* add MiniTocs

* fix unique key issue

* break into out into own div

* remove some unnecessary ts

* refactor looping section

* simplify markdown component usage

* add key prop

* add key prop

* add unique key

Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-03-08 18:00:38 +00:00

44 lines
597 B
SCSS

.parameterTable {
table-layout: fixed !important;
thead {
tr {
border-top: none;
th {
border: 0;
font-weight: normal;
}
}
}
tr:nth-child(2n) {
background: none !important;
}
td {
padding: 0.75rem 0.5rem !important;
border: 0 !important;
vertical-align: top;
width: 100%;
}
tbody {
tr td {
width: auto;
}
tr td:first-child {
font-weight: bold;
}
table tr td:not(:first-child) {
font-weight: normal;
}
}
code {
background-color: var(--color-canvas-subtle);
}
}