Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds leading return when creating multiple lines #42

Open
GavanWilhite opened this issue Feb 17, 2023 · 2 comments
Open

Adds leading return when creating multiple lines #42

GavanWilhite opened this issue Feb 17, 2023 · 2 comments

Comments

@GavanWilhite
Copy link

GavanWilhite commented Feb 17, 2023

Do you know what's going on here?

It basically looks like it's adding a break but only when multi-line

The react code is:

  return <li key={Math.random()}>
            <Box pointerEvents={'none'} width="100%">
                <Box w={6} h={6} borderColor={brandTransparent} borderWidth={1.5} textAlign='center' borderRadius={6} position='relative' display='inline-block'><Box position='relative' top='-1px'>{typeToEmoji[objective.type]}</Box></Box>
                <strong> <Balancer ratio={0.65} as={Text}>{objective.description}</Balancer> </strong>
            </Box>
        </li>
@GavanWilhite
Copy link
Author

Screenshot 2023-02-17 at 2 17 10 PM

Screenshot 2023-02-17 at 2 17 02 PM

@shuding
Copy link
Owner

shuding commented Mar 1, 2023

Could you create a reproduction on https://codesandbox.io/ or https://stackblitz.com? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants