Closed martinjonsson01 closed 2 years ago
142 should probably be merged into master before someone starts on this one.
How come? This story should mostly concern styling, while #142 was mostly technical.
How come?
Nevermind, I thought you made larger changes to the HTML code of the contract than you did.
I thought you made larger changes to the HTML code of the contract than you did.
Ah, yeah I mostly reformatted it so the lines weren't 800 characters long 😝
Is it overkill to refactor some of the code, seems like a lot of copy and paste right now?
Refactor what? The styling?
Inside ContractCard there are 4 divs that handle onclick addToRecentlyViewed, there must be some better way of doing that.
Oh, yeah that's not very good.
there must be some better way of doing that
I believe it should be enough to put the onclick on the same element that opens the card details view, now that I've reconfigured how the event cascading occurs. ... But that's still in #142😛
Description
As a customer I want the contract cards to be smaller, so that I can view more of them at once.
Acceptance criteria