Skip to content

Commit 52b13a0

Browse files
committed
[backend/frontend] Clean
1 parent 643f0e3 commit 52b13a0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

openbas-front/src/admin/components/common/injects/ResponsePie.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const ResponsePie: FunctionComponent<Props> = ({
125125
return (
126126
<div style={{
127127
display: 'grid',
128-
width: isReducedView ? '70%' : '100%',
128+
width: isReducedView ? '80%' : '100%',
129129
gridTemplateColumns: '33% 33% 33%',
130130
}}
131131
>
@@ -142,7 +142,11 @@ const ResponsePie: FunctionComponent<Props> = ({
142142
startIcon={<InfoOutlined />}
143143
color="primary"
144144
component={Link}
145-
style={{ gridColumnStart: 3 }}
145+
style={{
146+
gridColumnStart: 3,
147+
textAlign: 'center',
148+
fontSize: 'clamp(0.75rem, 0.5vw, 1rem)',
149+
}}
146150
to={humanValidationLink}
147151
>
148152
{`${pending.length} ${t('validations needed')}`}

0 commit comments

Comments
 (0)