NHSLeadership / nightingale-wp

Other
1 stars 0 forks source link

Buttons #30

Closed Android63 closed 6 years ago

Android63 commented 7 years ago

Things that people click to make stuff happen

screen shot 2017-08-11 at 15 53 27
penpadstudio commented 7 years ago

Latest visual reference for buttons.

screen shot 2017-08-17 at 13 03 25
Android63 commented 6 years ago

Make sure buttons inserted into posts display properly

Android63 commented 6 years ago

Thinking about how users might add buttons to posts/pages:

Any thoughts on this @cehwitham?

Android63 commented 6 years ago

Having discussed this with Chris, the MVP solution is to allow users to manually add css classes to links through the “Text” edit screen. Although this isn't super user-friendly, it's a good enough solution for now and we can educate users. At a later stage, we might use a Gutenberg button block.

The MVP solution is working fine with links styled as follows:

<a href="#" class="c-btn  c-btn--submit">Submit</a>