Skip to content

How to prevent line breaks #6874

Answered by Kenzo-Wada
starxyn asked this question in Q&A
Sep 24, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@starxyn
Ok, Now I see where the problem is!

Inside <Grid.Col> is not a Flex Box, so you have to wrap those two text with it.

eg.

<Grid>
  <Grid.Col span={12}>
    {show && (
    <Flex gap={0}> // or <Group>
      <Text c='gray.9'>ABC</Text>
      <Text c='red.7'>*</Text>
    </Flex>
  </Grid.Col>
</Grid>

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@starxyn
Comment options

@Kenzo-Wada
Comment options

Answer selected by starxyn
@starxyn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants