Fix progress bar css

pull/2573/head
Jérémy Rialland 2023-04-24 16:46:05 +02:00 committed by Jérémy Rialland
parent cab88b272c
commit d78a71d6f8
2 changed files with 21 additions and 19 deletions

View File

@ -53,8 +53,11 @@ const ProgressBar = styled.div`
height: ${({ theme }) => theme.spacings.xxs};
`
const StyledBody = styled(Body)`
position: absolute;
top: 0;
right: 0;
font-size: 0.825rem;
padding: 0 1.5rem;
margin-bottom: 0;
padding: 0.25rem 1.5rem;
margin: 0;
color: ${({ theme }) => theme.colors.extended.grey[600]}!important;
`

View File

@ -79,6 +79,19 @@ export default function Cotisations() {
</Body>
</div>
<Message border={false}>
<div
css={`
position: relative;
top: -1px;
margin: 0 -1.5rem;
`}
>
<Progress
progress={numberCurrentStep}
maxValue={numberSteps}
/>
</div>
<div
css={`
margin: -0.75rem 0;
@ -86,25 +99,11 @@ export default function Cotisations() {
>
<Conversation
customSituationVisualisation={
<>
<Grid container>
<DéclarationRevenu />
</Grid>
</>
<Grid container>
<DéclarationRevenu />
</Grid>
}
/>
<div
css={`
position: relative;
top: -2px;
margin: 0 -1.5rem;
`}
>
<Progress
progress={numberCurrentStep}
maxValue={numberSteps}
/>
</div>
</div>
</Message>
</FromTop>