mirror of
https://github.com/Redocly/redoc.git
synced 2025-04-22 09:42:00 +03:00
Add classNames for parameters schema and search results
This commit is contained in:
parent
24e9ad42c5
commit
c006bc28a6
|
@ -24,7 +24,7 @@ export class ParametersGroup extends React.PureComponent<ParametersGroupProps, a
|
|||
<div key={place} className="operation-parameters">
|
||||
<UnderlinedHeader>{place} Parameters</UnderlinedHeader>
|
||||
<PropertiesTable>
|
||||
<tbody>
|
||||
<tbody className="parameters-schema">
|
||||
{mapWithLast(parameters, (field, isLast) => (
|
||||
<Field key={field.name} isLast={isLast} field={field} showExamples={true} />
|
||||
))}
|
||||
|
|
|
@ -158,7 +158,7 @@ export class SearchBox extends React.PureComponent<SearchBoxProps, SearchBoxStat
|
|||
wheelPropagation: false,
|
||||
}}
|
||||
>
|
||||
<SearchResultsBox data-role="search:results">
|
||||
<SearchResultsBox data-role="search:results" className="search-results">
|
||||
{results.map((res, idx) => (
|
||||
<MenuItem
|
||||
item={Object.create(res.item, {
|
||||
|
@ -176,7 +176,7 @@ export class SearchBox extends React.PureComponent<SearchBoxProps, SearchBoxStat
|
|||
</PerfectScrollbarWrap>
|
||||
)}
|
||||
{this.state.term && this.state.noResults ? (
|
||||
<SearchResultsBox data-role="search:results">{l('noResultsFound')}</SearchResultsBox>
|
||||
<SearchResultsBox data-role="search:results" className="search-no-results">{l('noResultsFound')}</SearchResultsBox>
|
||||
) : null}
|
||||
</SearchWrap>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user