mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 15:57:30 +03:00 
			
		
		
		
	chore: remove unused EmptyDarkRightPanel
This commit is contained in:
		
							parent
							
								
									e80881f0a8
								
							
						
					
					
						commit
						1812775cd0
					
				|  | @ -25,12 +25,6 @@ export const DarkRightPanel = RightPanel.extend` | ||||||
|   background-color: ${props => props.theme.rightPanel.backgroundColor}; |   background-color: ${props => props.theme.rightPanel.backgroundColor}; | ||||||
| `;
 | `;
 | ||||||
| 
 | 
 | ||||||
| export const EmptyDarkRightPanel = DarkRightPanel.extend` |  | ||||||
|   ${media.lessThan('medium')` |  | ||||||
|     padding: 0 |  | ||||||
|   `};
 |  | ||||||
| `;
 |  | ||||||
| 
 |  | ||||||
| export const Row = styled.div` | export const Row = styled.div` | ||||||
|   display: flex; |   display: flex; | ||||||
|   width: 100%; |   width: 100%; | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ import * as React from 'react'; | ||||||
| 
 | 
 | ||||||
| import { AppStore } from '../../services/AppStore'; | import { AppStore } from '../../services/AppStore'; | ||||||
| 
 | 
 | ||||||
| import { EmptyDarkRightPanel, MiddlePanel, Row } from '../../common-elements/'; | import { MiddlePanel, Row } from '../../common-elements/'; | ||||||
| import { Markdown } from '../Markdown/Markdown'; | import { Markdown } from '../Markdown/Markdown'; | ||||||
| import { SecurityDefs } from '../SecuritySchemes/SecuritySchemes'; | import { SecurityDefs } from '../SecuritySchemes/SecuritySchemes'; | ||||||
| 
 | 
 | ||||||
|  | @ -110,7 +110,6 @@ export class ApiInfo extends React.Component<ApiInfoProps> { | ||||||
|             /> |             /> | ||||||
|           </div> |           </div> | ||||||
|         </MiddlePanel> |         </MiddlePanel> | ||||||
|         <EmptyDarkRightPanel /> |  | ||||||
|       </Row> |       </Row> | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ import * as React from 'react'; | ||||||
| import { SECTION_ATTR } from '../../services/MenuStore'; | import { SECTION_ATTR } from '../../services/MenuStore'; | ||||||
| import { Markdown } from '../Markdown/Markdown'; | import { Markdown } from '../Markdown/Markdown'; | ||||||
| 
 | 
 | ||||||
| import { EmptyDarkRightPanel, H1, MiddlePanel, Row, ShareLink } from '../../common-elements'; | import { H1, MiddlePanel, Row, ShareLink } from '../../common-elements'; | ||||||
| import { ContentItemModel } from '../../services/MenuBuilder'; | import { ContentItemModel } from '../../services/MenuBuilder'; | ||||||
| import { OperationModel } from '../../services/models'; | import { OperationModel } from '../../services/models'; | ||||||
| import { Operation } from '../Operation/Operation'; | import { Operation } from '../Operation/Operation'; | ||||||
|  | @ -63,14 +63,13 @@ export class TagItem extends React.Component<ContentItemProps> { | ||||||
|     const { name, description } = this.props.item; |     const { name, description } = this.props.item; | ||||||
|     return ( |     return ( | ||||||
|       <Row> |       <Row> | ||||||
|         <MiddlePanel key="middle"> |         <MiddlePanel> | ||||||
|           <H1> |           <H1> | ||||||
|             <ShareLink href={'#' + this.props.item.id} /> |             <ShareLink href={'#' + this.props.item.id} /> | ||||||
|             {name} |             {name} | ||||||
|           </H1> |           </H1> | ||||||
|           {description !== undefined && <Markdown source={description} />} |           {description !== undefined && <Markdown source={description} />} | ||||||
|         </MiddlePanel> |         </MiddlePanel> | ||||||
|         <EmptyDarkRightPanel key="right" /> |  | ||||||
|       </Row> |       </Row> | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user