Skip to content

Commit

Permalink
style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Sep 5, 2023
1 parent 5c420d8 commit d29b716
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/src/components/about/AboutHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function PhotoGallery() {
<Box
sx={(theme) => ({
borderRadius: 1,
overflow: 'auto',
overflow: 'hidden',
position: 'relative',
minWidth: '100%',
display: 'flex',
Expand All @@ -100,12 +100,12 @@ function PhotoGallery() {
zIndex: 2,
},
'&::before': {
right: -20,
right: { xs: -64, sm: -20 },
top: 0,
transform: 'rotateZ(180deg)',
},
'&::after': {
left: -20,
left: { xs: -64, sm: -20 },
top: 0,
},
...theme.applyDarkStyles({
Expand Down
18 changes: 15 additions & 3 deletions docs/src/components/about/OurValues.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,22 @@ export default function OurValues() {
<Typography
fontWeight="bold"
component="h3"
color="text.primary"
variant="body2"
mt={2}
mb={0.5}
sx={(theme) => ({
mt: 2,
mb: 0.5,
color: (theme.vars || theme).palette.text.primary,
'&::first-letter': {
mr: 0.1,
fontSize: theme.typography.pxToRem(18),
color: (theme.vars || theme).palette.primary.main,
},
...theme.applyDarkStyles({
'&::first-letter': {
color: (theme.vars || theme).palette.primary[400],
},
}),
})}
>
{title}
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/about/TeamStatistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function TeamStatistics() {
return (
<Box sx={{ display: 'flex', justifyContent: 'center', gap: 2 }}>
{data.map((item) => (
<Box key={item.title} sx={{ height: '100%', minWidth: { xs: 'auto', sm: 200 } }}>
<Box key={item.title} sx={{ height: '100%', width: { xs: '100%', sm: 200 } }}>
<Typography
component="p"
variant="h4"
Expand Down

0 comments on commit d29b716

Please sign in to comment.