diff --git a/src/common-elements/fields-layout.ts b/src/common-elements/fields-layout.ts index 38701028..524d718e 100644 --- a/src/common-elements/fields-layout.ts +++ b/src/common-elements/fields-layout.ts @@ -111,7 +111,6 @@ export const PropertyBullet = styled.span` } `; export const WrappedShelfIcon = styled.i` - transform: ${({ theme }) => (theme.typography.direction === 'rtl') ? 'rotateY(180deg)' : 'none'}; display: inline-block `; export const InnerPropertiesWrap = styled.div` diff --git a/src/components/SideMenu/MenuItem.tsx b/src/components/SideMenu/MenuItem.tsx index 62402323..462b8935 100644 --- a/src/components/SideMenu/MenuItem.tsx +++ b/src/components/SideMenu/MenuItem.tsx @@ -5,7 +5,7 @@ import { ShelfIcon } from '../../common-elements/shelfs'; import { IMenuItem, OperationModel } from '../../services'; import { shortenHTTPVerb } from '../../utils/openapi'; import { MenuItems } from './MenuItems'; -import { MenuItemLabel, MenuItemLi, MenuItemTitle, OperationBadge, WrappedShelfIcon } from './styled.elements'; +import { MenuItemLabel, MenuItemLi, MenuItemTitle, OperationBadge } from './styled.elements'; export interface MenuItemProps { item: IMenuItem; @@ -58,9 +58,7 @@ export class MenuItem extends React.Component { {this.props.children} {(item.depth > 0 && item.items.length > 0 && ( - - )) || null} diff --git a/src/components/SideMenu/styled.elements.ts b/src/components/SideMenu/styled.elements.ts index f8869162..592c32d0 100644 --- a/src/components/SideMenu/styled.elements.ts +++ b/src/components/SideMenu/styled.elements.ts @@ -182,6 +182,3 @@ export const RedocAttribution = styled.div` } `}; `; -export const WrappedShelfIcon = styled.i` - transform: ${({ theme }) => (theme.typography.direction === 'rtl') ? 'rotateY(180deg)' : 'none'}; -`;