diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 898b9808..fcf9341b 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -342,16 +342,18 @@ footer { padding: 1rem; } - th { - background-color: $white; - } + &.object-table, &.response-table { + caption, tr { + background-color: $table-row-default; + } - caption, tr { - background-color: $table-row-default; - } + tr:nth-child(even) { + background-color: $table-row-alternate; + } - tr:nth-child(even) { - background-color: $table-row-alternate; + th { + background-color: $white; + } } &.basic-info, &.basic-info th, &.basic-info td { diff --git a/layouts/partials/openapi/render-object-table.html b/layouts/partials/openapi/render-object-table.html index 7de88071..b5e332dd 100644 --- a/layouts/partials/openapi/render-object-table.html +++ b/layouts/partials/openapi/render-object-table.html @@ -21,7 +21,7 @@ {{ if $properties }} -
| Status | Description |
|---|