The back button is nice and short, but I think it needs a little more help.

<a href="/checkout/59/order_information">Go back</a>

https://dsc.cloud/lquessenberry/Screen-Shot-2018-09-17-15-34-40.png

It would be slightly better for styling purposes to have a class available for the Go Back link on checkout.

<a class="link--previous" href="/checkout/59/order_information">Go back</a>

Comments

lquessenberry created an issue. See original summary.

lquessenberry’s picture

Issue summary: View changes
lquessenberry’s picture

Issue summary: View changes
bojanz’s picture

Title: Create a class or other identifiable markup for styling » Add a CSS class to the "Go back" checkout link

Sure, why not.

krzysztof domański’s picture

Status: Active » Needs review
StatusFileSize
new773 bytes
new38.5 KB

class="link--previous"

bojanz’s picture

+            'class' => 'link--previous',

Is this the class that we want to use? Let's ask Matt and do a quick bikeshed.

mglaman’s picture

Assigned: lquessenberry » Unassigned

I think link--previous is fine. It's a link (block) and is modified as previous (modifier.) The only weird thing is other links do not have a "link" class on them. The only other idea would be just "previous" since we didn't BEM any other elements out of the box.

vdenis’s picture

I agree with Matt, both options he mentioned would be ok.

tonytheferg’s picture

+1 on this. will review

bojanz’s picture

Status: Needs review » Fixed

Tweaked for readability and completed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.