Skip to content
This repository has been archived by the owner on Nov 18, 2018. It is now read-only.

Excessive spaces in the "class" attribute. #50

Open
Sadofsky opened this issue Oct 26, 2016 · 0 comments
Open

Excessive spaces in the "class" attribute. #50

Sadofsky opened this issue Oct 26, 2016 · 0 comments

Comments

@Sadofsky
Copy link

For example, i noticed this in components Button and Input, if use own class through the className.

This:

<form>
  <Input className="test-input" type="text" placeholder="Test input" />
  <Button className="test-button" type="submit" color="isPrimary">Test Button</Button>
</form>

Compiled into:

<form>
  <p class="__re-bulma_control    test-input">
    <input class="__re-bulma_input" placeholder="Test input">
  </p>
  <button class="__re-bulma_button  __re-bulma_is-primary    test-button">
    Test Button
  </button>
</form>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants