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

Button config fullWidthOnMobile doesn't work #156

Open
lauraalkhoury opened this issue Nov 4, 2020 · 0 comments
Open

Button config fullWidthOnMobile doesn't work #156

lauraalkhoury opened this issue Nov 4, 2020 · 0 comments

Comments

@lauraalkhoury
Copy link

I have this snippet to configure the button tool:

tools: {
  button: {
    properties: {
      buttonColors: {
        value: {
          color: '#FFFFFF',
          backgroundColor: '#E25D7D'
        }
      },
      padding: {
        value: '10px 22px'
      },
      textAlign: {
        value: 'left'
      },
      size: {
        autoWidth: true,
        fullWidthOnMobile: true
      },
      borderRadius: '22px',
      containerPadding: '20px 0px 0px 0px'
    }
  }
}

and it seems like it isn't respecting the fullWidthOnMobile property as this is how the button looks in the mobile view:
image

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

No branches or pull requests

1 participant