connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10.01k stars 580 forks source link

Add feature: icon-text pull-right #62

Open goodseller opened 8 years ago

goodseller commented 8 years ago

Add a feature that the icon-text is placed on the right of the text in a button.

Example code:

      <footer class="toolbar toolbar-footer">
        <div class="toolbar-actions">
          <button class="btn btn-default">
            <span class="icon icon-text icon-cancel"></span> Cancel
          </button>

          <button class="btn btn-primary pull-right">
            Send <span class="icon icon-text icon-mail pull-right"></span>
          </button>
        </div>
      </footer>

Demo:

https://gyazo.com/50f35a312eb48ea7000635254ed3011e