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

Commit

Permalink
Revert "refactor: format codes"
Browse files Browse the repository at this point in the history
This reverts commit 219ac64.
  • Loading branch information
rot1024 committed Feb 8, 2022
1 parent 219ac64 commit d9de632
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/atoms/Plugin/IFrame/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import useHook, { RefType } from "./hooks";
export type Ref = RefType;

export type Props = {
autoResize?: "both" | "width-only" | "height-only";
autoResize?: boolean;
className?: string;
html?: string;
visible?: boolean;
Expand Down
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: 0 additions & 1 deletion src/components/molecules/Visualizer/Plugin/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export function Provider({
lookAt,
zoomIn,
zoomOut,
getTags,
],
);

Expand Down

0 comments on commit d9de632

Please sign in to comment.