Skip to content

Weird UI rendering on Firefox #3087

@geommr

Description

@geommr

Firefox
Image

Chrome
Image

Firefox and Chrome seem to behave differently when rendering this snippet:

<Container>
      <Box>
        <Heading size='md'>Settings</Heading>
        <Box direction='horizontal' alignment='space-between'>
          <Box direction='horizontal'>
            <Image src={RpcIcon} alt='RPC' />
            <Heading>RPC</Heading>
          </Box>
          <Button name="switch-rpc">Btn</Button>
        </Box>
        <Box direction='horizontal' alignment='space-between'>
          <Box direction='horizontal'>
            <Image src={ExplorerIcon} alt='Block explorer' />
            <Heading>Block explorer</Heading>
          </Box>
          <Button name="switch-block-explorer">Btn</Button>
        </Box>
     </Box>
</Container>

Firefox v134.0.2 on Linux
"@metamask/snaps-cli": "6.7.0",
"@metamask/snaps-sdk": "6.17.1",
"@metamask/snaps-ui": "3.1.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions