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

Fix spacing on icons for mobile button mode #285

Open
5 tasks done
guiherzog opened this issue May 11, 2020 · 0 comments
Open
5 tasks done

Fix spacing on icons for mobile button mode #285

guiherzog opened this issue May 11, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@guiherzog
Copy link
Contributor

Bug Report

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version?
  • Did you check the FAQs to see if that helps you?
  • Are you reporting to the correct repository?
  • Did you perform a search in the issues?

Versions

v1.3.0

Description

When the button switches to full-width and it uses icons, it should keep the spacing between the icon and the text to 8px according to the specification on the design pattern.

Steps to Reproduce

  1. Open precise-ui kitchen sink.
  2. Check Button component.
  3. Add icon to it.
  4. Resize the screen to mobile view.

Expected behavior:
The spacing between the icon and the text is 8px;

Actual behavior:
The spacing between the icon and the text is fluid (space-between) and it grows when the buttons grows in width.

@guiherzog guiherzog added bug Something isn't working good first issue Good for newcomers labels May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant