Skip to content

Commit

Permalink
Apply Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bespoyasov committed Jun 2, 2022
1 parent cf5ad08 commit 3b5b0a3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions layouts/main.tsx
Expand Up @@ -20,7 +20,7 @@ const Grid = styled.div`
align-items: start;
grid-template-columns: 34% 66%;
@media (max-width: ${props => props.theme.breakpoint}) {
@media (max-width: ${(props) => props.theme.breakpoint}) {
grid-template-columns: 100%;
padding-top: 1.2rem;
}
Expand All @@ -36,7 +36,7 @@ const Aside = styled.div`
position: sticky;
top: 20px;
@media (max-width: ${props => props.theme.breakpoint}) {
@media (max-width: ${(props) => props.theme.breakpoint}) {
position: relative;
top: auto;
}
Expand All @@ -47,7 +47,7 @@ const ToggleContainer = styled.div`
position: relative;
z-index: 1;
@media (max-width: ${props => props.theme.breakpoint}) {
@media (max-width: ${(props) => props.theme.breakpoint}) {
position: absolute;
top: -10px;
right: 0;
Expand Down Expand Up @@ -87,7 +87,13 @@ export class MainLayout extends PureComponent<Props> {
</ToggleContainer>
</Aside>
<div>
<MDXProvider components={{ abbr: Abbr, pre: Code, p: Paragraph }}>
<MDXProvider
components={{
abbr: Abbr,
pre: Code,
p: Paragraph
}}
>
<MainContent>{children}</MainContent>
</MDXProvider>
<PrevNext />
Expand Down

0 comments on commit 3b5b0a3

Please sign in to comment.