Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
SocialGouv
archifiltre
archifiltre-site
Commits
66fe18a6
Unverified
Commit
66fe18a6
authored
May 06, 2021
by
Benjamin Morali
Committed by
GitHub
May 06, 2021
Browse files
feat(stats): add mobile responsiveness on stats page (#177)
parent
c51b31ca
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
787 additions
and
634 deletions
+787
-634
src/components/statistics/statistics-group.tsx
src/components/statistics/statistics-group.tsx
+7
-1
yarn.lock
yarn.lock
+780
-633
No files found.
src/components/statistics/statistics-group.tsx
View file @
66fe18a6
...
...
@@ -22,6 +22,12 @@ const useTitleStyle = makeStyles({
},
});
const
useItemStyle
=
makeStyles
({
root
:
{
width
:
"
100%
"
,
},
});
const
StatisticsGroup
:
FC
<
StatisticsGroupProps
>
=
({
group
})
=>
(
<
Box
display
=
"flex"
width
=
"1"
flexDirection
=
"column"
>
<
Box
paddingBottom
=
{
2
}
>
...
...
@@ -32,7 +38,7 @@ const StatisticsGroup: FC<StatisticsGroupProps> = ({ group }) => (
<
Box
>
<
Grid
container
spacing
=
{
3
}
>
{
group
.
blocks
.
map
((
block
,
index
)
=>
(
<
Grid
item
key
=
{
index
}
x
s
=
{
block
.
size
}
>
<
Grid
item
key
=
{
index
}
s
m
=
{
block
.
size
}
classes
=
{
useItemStyle
()
}
>
<
StatisticsBlock
block
=
{
block
}
/>
</
Grid
>
))
}
...
...
yarn.lock
View file @
66fe18a6
This diff is collapsed.
Click to expand it.
Social Groovy Bot
🤖
@SocialGroovyBot
mentioned in commit
e0b18809
·
May 06, 2021
mentioned in commit
e0b18809
mentioned in commit e0b188097d6abd21bdd97e7ed11abfbb7dd8257d
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment