Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
refactor: format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Feb 8, 2022
1 parent d9de632 commit 4e5b61e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/molecules/Visualizer/Infobox/Frame/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ const Content = styled.div<{
max-height: ${({ open }) => (open ? "50vh" : "0")};
padding: ${({ open }) => (open ? "20px 0" : "0")};
padding-top: ${({ paddingTop }) => paddingTop ?`${paddingTop}px` : null};
padding-bottom: ${({ paddingBottom }) => paddingBottom ? `${paddingBottom}px` : null};
padding-left: ${({ paddingLeft }) => paddingLeft ? `${paddingLeft}px` : null};
padding-right: ${({ paddingRight }) => paddingRight ? `${paddingRight}px` : null};
padding-top: ${({ paddingTop }) => (paddingTop ? `${paddingTop}px` : null)};
padding-bottom: ${({ paddingBottom }) => (paddingBottom ? `${paddingBottom}px` : null)};
padding-left: ${({ paddingLeft }) => (paddingLeft ? `${paddingLeft}px` : null)};
padding-right: ${({ paddingRight }) => (paddingRight ? `${paddingRight}px` : null)};
`;

export default InfoBox;
1 change: 1 addition & 0 deletions src/components/molecules/Visualizer/Plugin/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export function Provider({
ev,
getLayers,
getSceneProperty,
getTags,
getCamera,
getSelectedLayer,
getLayerSelectionReason,
Expand Down

0 comments on commit 4e5b61e

Please sign in to comment.