Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
Signed-off-by: Kipruto <[email protected]>
  • Loading branch information
kelvinkipruto committed Sep 20, 2024
1 parent 4ba9af9 commit bf219db
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const DialogContainer = styled(Dialog)(({ theme: { palette, spacing } }) => ({
},
}));

interface TransitionProps extends SlideProps { }
interface TransitionProps extends SlideProps {}

const Transition = React.forwardRef(function Transition(
props: TransitionProps,
Expand Down
18 changes: 9 additions & 9 deletions apps/techlabblog/components/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ function ScrollStyle({ children, sx, ...other }: ScrollStyleProps) {

return children
? React.cloneElement(children, {
...other,
sx: trigger
? {
...sx,
backgroundColor: alpha(theme.palette.background.default, 0.95),
borderBottom: `1px solid ${theme.palette.divider}`,
}
: sx,
})
...other,
sx: trigger
? {
...sx,
backgroundColor: alpha(theme.palette.background.default, 0.95),
borderBottom: `1px solid ${theme.palette.divider}`,
}
: sx,
})
: null;
}

Expand Down
11 changes: 6 additions & 5 deletions apps/techlabblog/components/NoPosts/NoPosts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ const NoPosts = React.forwardRef(function NoPosts() {
background: `linear-gradient(to right, 'palette.background.main' 20%, transparent 30%)`,
},
[theme.breakpoints.up("md")]: {
background: `linear-gradient(to right, ${theme.palette.background.default
} 30%, transparent 40%, transparent 95%, ${alpha(
theme.palette.background.default,
0.7,
)} 98%)`,
background: `linear-gradient(to right, ${
theme.palette.background.default
} 30%, transparent 40%, transparent 95%, ${alpha(
theme.palette.background.default,
0.7,
)} 98%)`,
},
[theme.breakpoints.up("lg")]: {
background: `linear-gradient(to right, ${theme.palette.background.default} 30%, transparent 40%, transparent 95%, ${theme.palette.background.default} 99%)`,
Expand Down

0 comments on commit bf219db

Please sign in to comment.