fix(api-docs): fix a small styling issue in openapi rendering (#2141)

Specs without operations were no correctly displayed in dark mode.
This commit is contained in:
Oliver Sand
2020-08-27 15:10:39 +02:00
committed by GitHub
parent 304b7bcb13
commit e64411a754
@@ -37,7 +37,7 @@ const useStyles = makeStyles(theme => ({
'& section.models, section.models.is-open h4': {
'border-color': theme.palette.divider,
},
'& .opblock .opblock-summary-description, .parameter__type, table.headers td, .model-title, .model .property.primitive': {
'& .opblock .opblock-summary-description, .parameter__type, table.headers td, .model-title, .model .property.primitive, section h3': {
color: theme.palette.text.secondary,
},
'& .opblock .opblock-summary-operation-id, .opblock .opblock-summary-path, .opblock .opblock-summary-path__deprecated, .opblock .opblock-section-header h4, .parameter__name, .response-col_status, .response-col_links, .responses-inner h4, .swagger-ui .responses-inner h5, .opblock-section-header .btn, .tab li, .info li, .info p, .info table, section.models h4, .info .title, table.model tr.description, .property-row': {